]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit7487449c86c65202b3b725c4524cb48dd65e4e6f
tree4adea181ccd96b769cf011bad6312fe6e07543b3
parentd41bb33ba33b8f8debe54ed36be6925eb496e354
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