[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
@@ -418,6 +418,8 @@ extern int ipv6_rcv(struct sk_buff *skb,
|
||||
struct packet_type *pt,
|
||||
struct net_device *orig_dev);
|
||||
|
||||
extern int ip6_rcv_finish(struct sk_buff *skb);
|
||||
|
||||
/*
|
||||
* upper-layer output functions
|
||||
*/
|
||||
|
Reference in New Issue
Block a user