summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-02-05 12:18:25 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-02-05 12:18:25 (GMT)
commit2d36371aa1ff7d3ecf18e6ca93a8b5fd9c1e8f0e (patch)
tree489d71b186ecc911e6dc83c94b5b31cf9883465f /include
parent8b8e26b33304c56370096cecbe58fdb3ede318c2 (diff)
downloadlibnl-2d36371aa1ff7d3ecf18e6ca93a8b5fd9c1e8f0e.zip
libnl-2d36371aa1ff7d3ecf18e6ca93a8b5fd9c1e8f0e.tar.gz
libnl-2d36371aa1ff7d3ecf18e6ca93a8b5fd9c1e8f0e.tar.bz2
link: Keep reference to af_ops during lifetime of link object
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'include')
-rw-r--r--include/netlink-private/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink-private/types.h b/include/netlink-private/types.h
index 60a3bce..89f6418 100644
--- a/include/netlink-private/types.h
+++ b/include/netlink-private/types.h
@@ -183,6 +183,8 @@ struct rtnl_link
uint32_t l_num_rx_queues;
uint32_t l_group;
uint8_t l_carrier;
+ /* 3 byte hole */
+ struct rtnl_link_af_ops * l_af_ops;
};
struct rtnl_ncacheinfo