f12744b5db
to prevent deadlock on media unbind (which is called with the interface wlock()'ed), the medias reader processes that unbind was waiting for used to discard packets when the interface could not be rlocked. this has the unfortunate side effect that when we change addresses on a interface that packets are getting lost. this is problematic for the processing of ipv6 router advertisements when multiple RA's are getting received in quick succession. this change removes that packet dropping behaviour and instead changes the unbind process to avoid the deadlock by wunlock()ing the interface temporarily while waiting for the reader processes to finish. the interface media is also changed to the mullmedium before unlocking (see the comment). |
||
---|---|---|
.. | ||
arp.c | ||
chandial.c | ||
devip.c | ||
esp.c | ||
ethermedium.c | ||
gre.c | ||
icmp.c | ||
icmp6.c | ||
igmp.c | ||
il.c | ||
inferno.c | ||
ip.c | ||
ip.h | ||
ipaux.c | ||
ipifc.c | ||
ipmux.c | ||
iproute.c | ||
ipv6.c | ||
ipv6.h | ||
loopbackmedium.c | ||
netdevmedium.c | ||
netlog.c | ||
nullmedium.c | ||
pktmedium.c | ||
rudp.c | ||
tcp.c | ||
udp.c |