From: Kusanagi Kouichi Date: Tue, 30 Dec 2008 02:23:28 +0000 (-0800) Subject: tun: Fix SIOCSIFHWADDR error. X-Git-Tag: v2.6.29-rc1~557^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7a0a9608e4459afdf2e4a7831c1cbeb41353adf6;p=linux-2.6-omap-h63xx.git tun: Fix SIOCSIFHWADDR error. Set proper operations. Signed-off-by: Kusanagi Kouichi Signed-off-by: David S. Miller --- diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 666c1d98cda..69f9a0ec764 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -343,7 +343,7 @@ static void tun_net_init(struct net_device *dev) break; case TUN_TAP_DEV: - dev->netdev_ops = &tun_netdev_ops; + dev->netdev_ops = &tap_netdev_ops; /* Ethernet TAP Device */ ether_setup(dev);