IPv4: early demux can return an error code

[ Upstream commit 7487449c86 ]

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>
This commit is contained in:
Paolo Abeni 2017-09-28 15:51:36 +02:00 • committed by Greg Kroah-Hartman
commit 7059b30490
6 changed files with 30 additions and 23 deletions