Skip to content
Commit 40102371 authored by Kim B. Heino's avatar Kim B. Heino Committed by David S. Miller
Browse files

[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: default avatarKim B. Heino <Kim.Heino@bluegiga.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 459eea74
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment