summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_netem.c
diff options
context:
space:
mode:
authorDenis Kirjanov <kda@linux-powerpc.org>2014-02-13 05:58:56 +0100
committerDavid S. Miller <davem@davemloft.net>2014-02-14 00:35:56 +0100
commitd4f2fa6ad61ec1db713569a179183df4d0fc6ae7 (patch)
treebeb6710f7ffb43a00ba26da9e02b3f4feab9532a /net/sched/sch_netem.c
parentnet: remove unnecessary return's (diff)
downloadlinux-d4f2fa6ad61ec1db713569a179183df4d0fc6ae7.tar.xz
linux-d4f2fa6ad61ec1db713569a179183df4d0fc6ae7.zip
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>
Diffstat (limited to 'net/sched/sch_netem.c')
0 files changed, 0 insertions, 0 deletions