]> git.baikalelectronics.ru Git - kernel.git/commit
decnet: add RTNL lock when reading address list
authorstephen hemminger <shemminger@vyatta.com>
Wed, 11 Nov 2009 07:39:27 +0000 (07:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Nov 2009 03:22:15 +0000 (19:22 -0800)
commit9cd70d3564ea7d3dc48209be0e4c527717fec3d8
treef0fb46bda6bc72483a30bb726cf35ffdf77cbf0c
parent8cf8fdd16bd1d1a75d908073d04bc7e7d45fa8fb
decnet: add RTNL lock when reading address list

Add missing locking in the case of auto binding to the
default device. The address list might change while this code is looking
at the list.

Compile tested only, I am not a decnet user.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_dev.c