rtnetlink dump operations also share the rrtnl_mutex

From: wenxu <hidden>
Date: 2019-06-10 08:22:48

Hi all,


When a netlink_route socket was created, the nlk->cb_mutex is get through nl_table[NETLINK_ROUTE].cb_mutex which is the rtnl_mutex.


So all the netlink_route dump operation can contend for each other (ip l, ip a, ip r, tc ls). It will also contend with other RTM_NEW/DEL operations.


So there can be a good way for each msgtype have their own mutex for dump operations?


BR

wenxu


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help