diff options
author | Sven Eckelmann <sven.eckelmann@open-mesh.com> | 2016-09-30 15:21:00 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-11-08 19:02:36 +0100 |
commit | 88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c (patch) | |
tree | a19e9b065270765d6a96f26679ee5060e306448e /.gitignore | |
parent | 93bbaab455f30fd43911e0881a02107a17150a62 (diff) | |
download | op-kernel-dev-88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c.zip op-kernel-dev-88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c.tar.gz |
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions