bridge: Use consistent NF_DROP returns in nf_pre_routing
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Dec 2010 17:38:11 +0000 (17:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Dec 2010 00:04:53 +0000 (16:04 -0800)
commitdeef4b522b814593407cfd56216840c2b75e9f15
tree82e8f89a50e5ac994b50f4aa0c79b5f57d6c3102
parentc053fd96d0d3d18c721f880b8fdd0b925894d9c4
bridge: Use consistent NF_DROP returns in nf_pre_routing

The nf_pre_routing functions in bridging have collected two
distinct ways of returning NF_DROP over the years, inline and
via goto.  There is no reason for preferring either one.

So this patch arbitrarily picks the inline variant and converts
the all the gotos.

Also removes a redundant comment.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c