summaryrefslogtreecommitdiff
path: root/net/bridge/br_input.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-10-14 00:38:47 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-15 12:26:26 -0700
commitf697c3e8b35c18b2698d64137c0fa84b0cdb3d10 (patch)
treea234201c36081f540179195dfabfce4b434aa0f2 /net/bridge/br_input.c
parent776c729e8d91b2740583a2169678f2d3f383458b (diff)
downloadlwn-f697c3e8b35c18b2698d64137c0fa84b0cdb3d10.tar.gz
lwn-f697c3e8b35c18b2698d64137c0fa84b0cdb3d10.zip
[NET]: Avoid unnecessary cloning for ingress filtering
As it is we always invoke pt_prev before ing_filter, even if there are no ingress filters attached. This can cause unnecessary cloning in pt_prev. This patch changes it so that we only invoke pt_prev if there are ingress filters attached. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
0 files changed, 0 insertions, 0 deletions