]> Git Repo - linux.git/commit - net/ipv6/ip6_output.c
ipv6: ip6_forward: perform skb->pkt_type check at the beginning
authorLi RongQing <[email protected]>
Tue, 11 Mar 2014 02:40:08 +0000 (10:40 +0800)
committerDavid S. Miller <[email protected]>
Tue, 11 Mar 2014 04:37:42 +0000 (00:37 -0400)
commit090f1166c6790e18c30f40690098829709e8dc68
treee3a11c9d9e8ff209ba6f46f65f831bc7f696d999
parentfcb308d52991cbdb6231ab0e7ec3e5d1c61b3a20
ipv6: ip6_forward: perform skb->pkt_type check at the beginning

Packets which have L2 address different from ours should be
already filtered before entering into ip6_forward().

Perform that check at the beginning to avoid processing such packets.

Signed-off-by: Li RongQing <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/ip6_output.c
This page took 0.049247 seconds and 4 git commands to generate.