diff options
author | 2016-09-30 15:21:00 +0200 | |
---|---|---|
committer | 2016-11-08 19:02:36 +0100 | |
commit | 88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c (patch) | |
tree | a19e9b065270765d6a96f26679ee5060e306448e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | batman-adv: Reject unicast packet with zero/mcast dst address (diff) | |
download | linux-dev-88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c.tar.xz linux-dev-88ffc7d0e2cdcd3d8ba603d51b81a65712899c6c.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions