diff options
author | 2024-03-28 08:27:50 +0100 | |
---|---|---|
committer | 2024-04-03 09:59:38 +0100 | |
commit | b1f81b9a535b48b2c9ca460720a2bc73fd2001de (patch) | |
tree | f2a4ad10a7054e8ae7ef6ec4c2c3d2a16623b05e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | rtnetlink: add guard for RTNL (diff) | |
download | wireguard-linux-b1f81b9a535b48b2c9ca460720a2bc73fd2001de.tar.xz wireguard-linux-b1f81b9a535b48b2c9ca460720a2bc73fd2001de.zip |
netdevice: add DEFINE_FREE() for dev_put
For short netdev holds within a function there are still a lot of
users of dev_put() rather than netdev_put(). Add DEFINE_FREE() to
allow making those safer.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions