netfilter 02/09: bridge: Fix handling of non-IP packets in FORWARD/POST_ROUTING
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 12 Jan 2009 00:06:02 +0000 (00:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jan 2009 05:18:33 +0000 (21:18 -0800)
commita2bd40ad3151d4d346fd167e01fb84b06f7247fc
treef5d703c8bcc2b91f23bc2e2310a2ef1f77d74f19
parent88843104a19d5896bf67ab6bd685e976240dd04a
netfilter 02/09: bridge: Fix handling of non-IP packets in FORWARD/POST_ROUTING

Currently the bridge FORWARD/POST_ROUTING chains treats all
non-IPv4 packets as IPv6.  This packet fixes that by returning
NF_ACCEPT on non-IP packets instead, just as is done in PRE_ROUTING.

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