]> granicus.if.org Git - libnl/commit
Provide rtnl_tc_get_link() and fix link refcnt
authorThomas Graf <tgraf@suug.ch>
Thu, 21 Apr 2011 12:48:54 +0000 (14:48 +0200)
committerThomas Graf <tgraf@suug.ch>
Thu, 21 Apr 2011 12:48:54 +0000 (14:48 +0200)
commitdaefa7695928f90138d4d87c4f88a645c1a5f29b
treef699a943f92507060791c04fe9402faa92b8206b
parent83f14112e22d3d28dab4c88763136f2321718664
Provide rtnl_tc_get_link() and fix link refcnt

Adds rtnl_tc_get_link() returning the link associated with a tc
object.

Don't clone link associated with tc object when cloning the tc
object, refer to same link instead and bump refcnt.

Fix refcnt leak when assigning link in msg parser.
lib/route/tc.c