net/ncsi: unlock on error in ncsi_set_interface_nl()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Mar 2018 09:36:28 +0000 (12:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 02:49:58 +0000 (21:49 -0500)
commit054f34da60dfa46457ca39dd111bb2b393575dab
tree73be9a400006609ab172456b7c4d4c41740bd523
parent50db64b090d0f457a3266fe80e2c841eba621b9d
net/ncsi: unlock on error in ncsi_set_interface_nl()

There are two error paths which are missing unlocks in this function.

Fixes: 955dc68cb9b2 ("net/ncsi: Add generic netlink family")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/ncsi-netlink.c