Clarification needed on register_netdevice_notifier behavior.

From: Paraneetharan Chandrasekaran <hidden>
Date: 2012-09-10 13:53:14

Hi all,

I encountered a behavior of register_netdevice_notifier. Upon the
registration a notifier, it calls the notifier looping through each
net_device and invokes the notifier. If, at some instance, the
notifier fails with error, it rollsback each of net_device it had been
notified earlier. Pls take a look at the function.

I am not sure  whether the rolling back part is done for a reason.
Does this not possibly cause undesirable behaviors in the notifier's
client for the reason that it had been misinformed that all the
net_devices' are unregistered?

--
Regards,
Paraneetharan C
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help