From: Denis Kirjanov Date: Thu, 13 Feb 2014 04:58:56 +0000 (+0400) Subject: ipv4: ip_forward: perform skb->pkt_type check at the beginning X-Git-Tag: v3.15-rc1~113^2~356 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4f2fa6ad61ec1db713569a179183df4d0fc6ae7;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed