device: protect device event broadcast against simultaneous deletions of multiple...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Feb 2013 18:14:35 +0000 (19:14 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 Feb 2013 18:14:35 +0000 (19:14 +0100)
commitcf90523881521fe8396a728230169b6b8ea7e8da
tree3beba4f9b618f8db6637982fea5a5ae31ded8d12
parentbc1902d31fe5d751a50981d668cc1356b4796639
device: protect device event broadcast against simultaneous deletions of multiple receivers in the callback (can happen with aliases)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
device.c
device.h