ip: factor out protocol delivery helper
authorPaolo Abeni <pabeni@redhat.com>
Wed, 7 Nov 2018 11:38:31 +0000 (12:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2018 00:23:05 +0000 (16:23 -0800)
commit68cb7d531e6a87250a51b8a4ee1c79b3445aeff3
tree32fff568577a4ae507faa9a4fff395691cb940a8
parentbcd1665e3569b0a6f569514f023a41fc7df0b4a3
ip: factor out protocol delivery helper

So that we can re-use it at the UDP level in a later patch

rfc v3 -> v1
 - add the helper declaration into the ip header

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/ip_input.c