]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IPv4: early demux can return an error code
authorPaolo Abeni <pabeni@redhat.com>
Thu, 28 Sep 2017 13:51:36 +0000 (15:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Oct 2017 09:56:06 +0000 (11:56 +0200)
commit7059b304902b1fb45df29b5d1d5e1ea3f5fa4efa
tree08c65ea9af338ad8c82a5baebb42b9a64cd9a680
parent1186e0435f14f023b047d982831daf32a24eae7a
IPv4: early demux can return an error code

[ Upstream commit 7487449c86c65202b3b725c4524cb48dd65e4e6f ]

Currently no error is emitted, but this infrastructure will
used by the next patch to allow source address validation
for mcast sockets.
Since early demux can do a route lookup and an ipv4 route
lookup can return an error code this is consistent with the
current ipv4 route infrastructure.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/protocol.h
include/net/tcp.h
include/net/udp.h
net/ipv4/ip_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c