diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 666c1d98cdaf1d695aece39e195eac212d42e264..69f9a0ec764d3e8503cb46c1d3d4fa380e5b87f3 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);