]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: correct typo in call to unregister_netdevice_queue
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 18 May 2015 17:51:24 +0000 (13:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2015 20:57:09 +0000 (16:57 -0400)
commit99710a53a63c5b057dd62265e67a1ef4c0614167
tree23064a4cc7a9f3edbd6f75ad5daad8b4ad26dc88
parent6dfa5705c4f8fdcbe12daaebb0f41587095cea36
vxlan: correct typo in call to unregister_netdevice_queue

By inspection, this appears to be a typo.  The gating comparison
involves vxlan->dev rather than dev.  In fact, dev is the iterator in
the preceding loop above but it is actually constant in the 2nd loop.

Use of dev seems to be a bad cut-n-paste from the prior call to
unregister_netdevice_queue.  Change dev to vxlan->dev, since that is
what is actually being checked.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c