commit | d4f2fa6ad61ec1db713569a179183df4d0fc6ae7 | [log] [tgz] |
---|---|---|
author | Denis Kirjanov <kda@linux-powerpc.org> | Thu Feb 13 08:58:56 2014 +0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 13 18:35:56 2014 -0500 |
tree | beb6710f7ffb43a00ba26da9e02b3f4feab9532a | |
parent | 2045ceaed4d54e6e698874d008be727ee5b2a01c [diff] |
ipv4: ip_forward: perform skb->pkt_type check at the beginning Packets which have L2 address different from ours should be already filtered before entering into ip_forward(). Perform that check at the beginning to avoid processing such packets. Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org> Signed-off-by: David S. Miller <davem@davemloft.net>