[PATCH RFC] ct: endless loop when initializing netfilter/ct cache

Holger Eitzenberger holger at eitzenberger.org
Mon Nov 10 07:58:01 PST 2014


> > I therefore have modified nl_cache_pickup() to have an additional 3rd
> > argument, which tells whether dupe_check is required or not.  Since
> > nl_cache_pickup is a non-static function this then is an API change.

> 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.

Ok, will send a patch later.




More information about the libnl mailing list