diff options
author | Matt Johnston <matt@codeconstruct.com.au> | 2022-02-22 12:17:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-23 12:29:15 +0000 |
commit | e297db3eadd7809170aea627ed3d9f714fa3da2d (patch) | |
tree | 6a9568db1997af1cf933d8c1c92cb1053e0c7505 /net/switchdev/switchdev.c | |
parent | dc121c0084910db985cf1c8ba6fce5d8c307cc02 (diff) |
mctp: Fix incorrect netdev unref for extended addr
In the extended addressing local route output codepath
dev_get_by_index_rcu() doesn't take a dev_hold() so we shouldn't
dev_put().
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions