Clarification needed on register_netdevice_notifier behavior.
Sept. 10, 2012
1:53 p.m.
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
5086
Age (days ago)
5086
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paraneetharan Chandrasekaran