diff options
author | Kim B. Heino <Kim.Heino@bluegiga.com> | 2008-02-29 20:26:21 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 20:26:21 (GMT) |
commit | 401023710d73aaef1191ab4d6a79d39c51add828 (patch) | |
tree | a19260d86b6fa1cdb27a368a3d77335cdfb27dbf /net | |
parent | 459eea74104ad85c30e17541c2b30d776445e985 (diff) | |
download | linux-fsl-qoriq-401023710d73aaef1191ab4d6a79d39c51add828.tar.xz |
[TUN]: Fix RTNL-locking in tun/tap driver
Current tun/tap driver sets also net device's hw address when asked to
change character device's hw address. This is a good idea, but it
misses RTLN-locking, resulting following error message in 2.6.25-rc3's
inetdev_event() function:
RTNL: assertion failed at net/ipv4/devinet.c (1050)
Attached patch fixes this problem.
Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions