[IPV4/6]: Netfilter IPsec input hooks
When the innermost transform uses transport mode the decapsulated packet is not visible to netfilter. Pass the packet through the PRE_ROUTING and LOCAL_IN hooks again before handing it to upper layer protocols to make netfilter-visibility symetrical to the output path. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
951dbc8ac7
commit
b05e106698
@@ -48,7 +48,7 @@
|
||||
|
||||
|
||||
|
||||
static inline int ip6_rcv_finish( struct sk_buff *skb)
|
||||
inline int ip6_rcv_finish( struct sk_buff *skb)
|
||||
{
|
||||
if (skb->dst == NULL)
|
||||
ip6_route_input(skb);
|
||||
|
Reference in New Issue
Block a user