diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-14 00:38:47 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-15 12:26:26 -0700 |
commit | f697c3e8b35c18b2698d64137c0fa84b0cdb3d10 (patch) | |
tree | a234201c36081f540179195dfabfce4b434aa0f2 /net/xfrm | |
parent | 776c729e8d91b2740583a2169678f2d3f383458b (diff) | |
download | op-kernel-dev-f697c3e8b35c18b2698d64137c0fa84b0cdb3d10.zip op-kernel-dev-f697c3e8b35c18b2698d64137c0fa84b0cdb3d10.tar.gz |
[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/xfrm')
0 files changed, 0 insertions, 0 deletions