Re: [PATCH] fix RTNL-locking in tun/tap driver

David Miller
2008-02-29T20:26:38Z

From: "Kim B. Heino" <Kim.Heino@bluegiga.com>
Date: Wed, 27 Feb 2008 11:38:21 +0200

> 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>

Applied, thanks.