diff options
| author | Herbert Xu <[email protected]> | 2007-10-14 00:38:47 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2007-10-15 12:26:26 -0700 |
| commit | f697c3e8b35c18b2698d64137c0fa84b0cdb3d10 (patch) | |
| tree | a234201c36081f540179195dfabfce4b434aa0f2 /include/linux | |
| 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions