[PATCH] ct: endless loop when initializing netfilter/ct cache
Holger Eitzenberger
holger at eitzenberger.org
Mon Nov 10 12:59:13 PST 2014
> I like the dup avoidance change to nl_cache_pickup() to work around
> this automatically but we can't modify the signature of
> nl_cache_pickup() as it breaks both API and ABI.
>
> What we can do is add a new nl_cache_pickup_checkdup() which can be
> used from within flnl_lookup() to keep the DUP check and modify the
> standard behaviour of nl_cache_pickup() to not do a DUP check.
Please check attached patch.
There is a 203 byte increase in text size:
text data bss dec
_BEFORE_
110724 6440 360 117524
_AFTER_
110927 6440 360 117727
/Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnl-avoid-dupe-check-on-initial-dump.diff
Type: text/x-diff
Size: 3651 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20141110/518938b0/attachment.bin>
More information about the libnl
mailing list