net/core: fix rollback handler in register_netdevice_notifier
authorRongQing.Li <roy.qing.li@gmail.com>
Thu, 1 Dec 2011 04:43:07 +0000 (23:43 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 04:43:07 +0000 (23:43 -0500)
commit8f891489866ec62a87494eff3ed17c88152c32d4
treea3baca724faed04898f72e3e512f76892a1b05ce
parentea6a5d3b97b768561db6358f15e4c84ced0f4f7e
net/core: fix rollback handler in register_netdevice_notifier

Within nested statements, the break statement terminates only the
do, for, switch, or while statement that immediately encloses it,
So replace the break with goto.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c