From: Kusanagi Kouichi Date: Tue, 30 Dec 2008 02:23:28 +0000 (-0800) Subject: tun: Fix SIOCSIFHWADDR error. X-Git-Tag: upstream/snapshot3+hdmi~21090^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a0a9608e4459afdf2e4a7831c1cbeb41353adf6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 666c1d9..69f9a0e 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);