diff options
author | Sven Eckelmann <sven.eckelmann@open-mesh.com> | 2016-09-30 16:21:00 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-11-08 21:02:36 +0300 |
commit | 88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c (patch) | |
tree | a19e9b065270765d6a96f26679ee5060e306448e /net/batman-adv/bat_v_elp.c | |
parent | 93bbaab455f30fd43911e0881a02107a17150a62 (diff) | |
download | linux-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