]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_conntrack_extend: warn on confirmed conntracks
authorPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:51 +0000 (11:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:51 +0000 (11:15 +0200)
commit55871d04793d9c069ee277b1e98794b88d92ed80
tree7e06b1ae438b45e9d5b5da8146ba197222d875f4
parent8c87238b726e543f8af4bdb4296020a328df4744
[NETFILTER]: nf_conntrack_extend: warn on confirmed conntracks

New extensions may only be added to unconfirmed conntracks to avoid races
when reallocating the storage.

Also change NF_CT_ASSERT to use WARN_ON to get backtraces.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_extend.c