]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_conntrack: don't try to deliver events for untracked connections
authorPatrick McHardy <kaber@trash.net>
Wed, 18 Feb 2009 14:30:34 +0000 (15:30 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 18 Feb 2009 14:30:34 +0000 (15:30 +0100)
commite89594db4a9aad4aaf243c06e81a508ed1727703
tree2cc5e20956687640229913c60b043db147321772
parentf94b431513c3c78f94ff1e458b62bca6202a4a5d
netfilter: nf_conntrack: don't try to deliver events for untracked connections

The untracked conntrack actually does usually have events marked for
delivery as its not special-cased in that part of the code. Skip the
actual delivery since it impacts performance noticeably.

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