summaryrefslogtreecommitdiff
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorHolger Eitzenberger <holger@eitzenberger.org>2009-03-26 13:37:14 +0100
committerPatrick McHardy <kaber@trash.net>2009-03-26 13:37:14 +0100
commitd271e8bd8c60ce059ee36d836ba063cfc61c3e21 (patch)
treed1079a22caca910d9eac59d8484c3b39e65b724e /lib/nlattr.c
parenta400c30edb1958ceb53c4b8ce78989189b36df47 (diff)
downloadkernel-common-d271e8bd8c60ce059ee36d836ba063cfc61c3e21.tar.gz
kernel-common-d271e8bd8c60ce059ee36d836ba063cfc61c3e21.tar.bz2
kernel-common-d271e8bd8c60ce059ee36d836ba063cfc61c3e21.zip
ctnetlink: compute generic part of event more acurately
On a box with most of the optional Netfilter switches turned off some of the NLAs are never send, e. g. secmark, mark or the conntrack byte/packet counters. As a worst case scenario this may possibly still lead to ctnetlink skbs being reallocated in netlink_trim() later, loosing all the nice effects from the previous patches. I try to solve that (at least partly) by correctly #ifdef'ing the NLAs in the computation. Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions