commit | f697c3e8b35c18b2698d64137c0fa84b0cdb3d10 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sun Oct 14 00:38:47 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Oct 15 12:26:26 2007 -0700 |
tree | a234201c36081f540179195dfabfce4b434aa0f2 | |
parent | 776c729e8d91b2740583a2169678f2d3f383458b [diff] |
[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>