ibcore: Add missing unref of netdevice.
Submitted by: hselasky@ Approved by: hselasky (mentor) MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
ae8534ca28
commit
0231669450
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341531
@ -1335,6 +1335,7 @@ static bool validate_ipv6_net_dev(struct net_device *net_dev,
|
||||
dev_put(dst_dev);
|
||||
return false;
|
||||
}
|
||||
dev_put(dst_dev);
|
||||
|
||||
CURVNET_SET(net_dev->if_vnet);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user