]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2017 02:55:47 +0000 (03:55 +0100)
commitf671f889fc51986209f309f3df0212d29fc04d5c
tree4adea181ccd96b769cf011bad6312fe6e07543b3
parente49598837c2f3f23b1a247847e63dc9ef05d242c
IPv4: early demux can return an error code

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>
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