]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 19 Oct 2017 14:48:35 +0000 (09:48 -0500)
commit0ad0d54d775679cc13b22caabfddbdbcf97a7675
treeb8854972ea21cb3b25841ff2abab8b7a1d4c1f59
parent4850600c5b62da50119ba4f95f874ecfade0b161
IPv4: early demux can return an error code

BugLink: http://bugs.launchpad.net/bugs/1723145
[ 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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
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