xfrm interface: don't take extra reference to netdev
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 23 Apr 2020 09:39:20 +0000 (11:39 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 27 Apr 2020 06:50:49 +0000 (08:50 +0200)
commite62905ae34eaf5fe2cfb254be5e0c097b3b1f798
treef9f5f42ed5767a7362cb7549bad56c660c717034
parentb6246f4d8d0778fd045b84dbd7fc5aadd8f3136e
xfrm interface: don't take extra reference to netdev

I don't see any reason to do this. Maybe needed before
commit 56c5ee1a5823 ("xfrm interface: fix memory leak on creation").

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_interface.c