commit | 88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven.eckelmann@open-mesh.com> | Fri Sep 30 15:21:00 2016 +0200 |
committer | Simon Wunderlich <sw@simonwunderlich.de> | Tue Nov 08 19:02:36 2016 +0100 |
tree | a19e9b065270765d6a96f26679ee5060e306448e | |
parent | 93bbaab455f30fd43911e0881a02107a17150a62 [diff] |
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>