With the following:
1: Notification handler towards net_device. Links will now go down
immediately when the carrier on an interface is lost, and act correctly
on ifconfig commands.
2: Changed the lock handling in port.c according to description in previous
mail. The only overlap between node locks and port locks now is
in the link_schedule/wakeup functions. I will consider what more I
can do
with this, and other parts of the lock handling.
3: Added a verbal description (in net.c) of the whole locking policy.
/jon
|