summaryrefslogtreecommitdiff
path: root/net/batman-adv/bat_v_elp.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@open-mesh.com>2016-09-30 16:21:00 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2016-11-08 21:02:36 +0300
commit88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c (patch)
treea19e9b065270765d6a96f26679ee5060e306448e /net/batman-adv/bat_v_elp.c
parent93bbaab455f30fd43911e0881a02107a17150a62 (diff)
downloadlinux-88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c.tar.xz
batman-adv: Return non-const ptr in batadv_getlink_net
The returned net_namespace of batadv_getlink_net may be used with functions that potentially modify the struct. Thus it must return the pointer as non-const like rtnl_link_ops::get_link_net does. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/bat_v_elp.c')
0 files changed, 0 insertions, 0 deletions