tun: Multicast handling in tun_chr_ioctl() needs proper locking.
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Apr 2008 10:44:43 +0000 (03:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Apr 2008 10:44:43 +0000 (03:44 -0700)
commit9edb74cc6ccb3a893c3d40727b7003c3c16f85a0
tree8f45047eb778c13150809df837c1a1327a3f6c05
parent5e659e4cb0eedacdc1f621a61e400a4611ddef8a
tun: Multicast handling in tun_chr_ioctl() needs proper locking.

Since these operations don't go through the normal
device calls, we have to ensure we synchronize with
those paths.

Noticed by Alan Cox.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c