]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: Fix connection tracking bug in 2.6.12
authorPatrick McHardy <kaber@trash.net>
Tue, 28 Jun 2005 23:04:44 +0000 (16:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2005 23:04:44 +0000 (16:04 -0700)
commite9425118367280ce2d13ea9fdf1b56cbea9366a2
treebeb8d20173ecdc5c60906c8fcac8346894673a4c
parentdf3b910129a4e29ee5360e182d1be410e7776435
[NETFILTER]: Fix connection tracking bug in 2.6.12

In 2.6.12 we started dropping the conntrack reference when a packet
leaves the IP layer. This broke connection tracking on a bridge,
because bridge-netfilter defers calling some NF_IP_* hooks to the bridge
layer for locally generated packets going out a bridge, where the
conntrack reference is no longer available. This patch keeps the
reference in this case as a temporary solution, long term we will
remove the defered hook calling. No attempt is made to drop the
reference in the bridge-code when it is no longer needed, tc actions
could already have sent the packet anywhere.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c
net/ipv4/ip_output.c