From: Kim B. Heino Date: Fri, 29 Feb 2008 20:26:21 +0000 (-0800) Subject: [TUN]: Fix RTNL-locking in tun/tap driver X-Git-Tag: v2.6.25-rc4~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401023710d73aaef1191ab4d6a79d39c51add828;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed