cls handle is 0 when cls retrieved from allocate_cls

Thomas Haller thaller at redhat.com
Mon May 18 09:40:55 PDT 2015


On Mon, 2015-05-18 at 19:07 +0300, Sagi Lowenhardt wrote:
> Hi,
> 
> When I allocate, add all attributes and use 'rtnl_cls_add()', the
> handle I get for this object when using 'rtnl_tc_get_handle' is 0.
> However, when I iterate cache-cls-objects, and use
> 'rtnl_tc_get_handle', the handle retrieved correctly.
> It looks like the libnl object isn't updated with the allocated
> hash-bucket-id after adding it, is it a known issue ? should I submit
> one ?


Hi Sagi,


not known (to me).

Could you please provide a minimal working example to reproduce the
issue?


Thank you!
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20150518/ed3d0544/attachment.sig>


More information about the libnl mailing list