mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
0d60d8df6f
This fixes a possible UAF in if_nlmsg_size(),
which can run without RTNL.
Add rcu protection to "struct dpll_pin"
Move netdev_dpll_pin() from netdevice.h to dpll.h to
decrease name pollution.
Note: This looks possible to no longer acquire RTNL in
netdev_dpll_pin_assign() later in net-next.
v2: do not force rcu_read_lock() in rtnl_dpll_pin_size() (Jiri Pirko)
Fixes:
|
||
---|---|---|
.. | ||
dpll_core.c | ||
dpll_core.h | ||
dpll_netlink.c | ||
dpll_netlink.h | ||
dpll_nl.c | ||
dpll_nl.h | ||
Kconfig | ||
Makefile |