netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tun: Fix SIOCSIFHWADDR error.
@ 2008-12-29 20:03 Kusanagi Kouichi
  2008-12-30  2:23 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Kusanagi Kouichi @ 2008-12-29 20:03 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel

Set proper operations.

Signed-off-by: Kusanagi Kouichi <slash@ma.neweb.ne.jp>
---
 drivers/net/tun.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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);
 
-- 
1.5.6.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tun: Fix SIOCSIFHWADDR error.
  2008-12-29 20:03 [PATCH] tun: Fix SIOCSIFHWADDR error Kusanagi Kouichi
@ 2008-12-30  2:23 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-12-30  2:23 UTC (permalink / raw)
  To: slash; +Cc: netdev, linux-kernel

From: Kusanagi Kouichi <slash@ma.neweb.ne.jp>
Date: Tue, 30 Dec 2008 05:03:12 +0900

> Set proper operations.
> 
> Signed-off-by: Kusanagi Kouichi <slash@ma.neweb.ne.jp>

Applied, thanks a lot.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-30  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 20:03 [PATCH] tun: Fix SIOCSIFHWADDR error Kusanagi Kouichi
2008-12-30  2:23 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).