Clarification needed on register_netdevice_notifier behavior.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux