]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Do not notify peers on parameter change resets
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 11 Apr 2018 15:09:38 +0000 (10:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2018 01:51:53 +0000 (21:51 -0400)
commite779e3b056175ea271ea129b58f2deb28e46087a
tree7b386553deb1996579ae0b69b301271eb31b3c81
parentdce9a668ebbbf2c751ce180e5e44efba07878ee8
ibmvnic: Do not notify peers on parameter change resets

When attempting to change the driver parameters, such as the MTU
value or number of queues, do not call netdev_notify_peers().
Doing so will deadlock on the rtnl_lock.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c