]> err.no Git - linux-2.6/commit
[NETFILTER] bridge: simplify nf_bridge_pad
authorStephen Hemminger <shemminger@osdl.org>
Wed, 30 Aug 2006 00:48:57 +0000 (17:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:31 +0000 (15:18 -0700)
commit9bcfcaf5e9cc887eb39236e43bdbe4b4b2572229
tree34d6369208bdd707a5e45bdf1972c94e3206b6e3
parent07317621d004e8e6967f2dac8562825267e56135
[NETFILTER] bridge: simplify nf_bridge_pad

Do some simple optimization on the nf_bridge_pad() function
and don't use magic constants. Eliminate a double call and
the #ifdef'd code for CONFIG_BRIDGE_NETFILTER.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_bridge.h
net/ipv4/ip_output.c