Skip to content
Commit 8f891489 authored by RongQing.Li's avatar RongQing.Li Committed by David S. Miller
Browse files

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: default avatarRongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ea6a5d3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment