Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 14:37:17 +0000 (UTC)
From:      =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <royger@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289588 - head/sys/dev/xen/netfront
Message-ID:  <201510191437.t9JEbHhI019222@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: royger
Date: Mon Oct 19 14:37:17 2015
New Revision: 289588
URL: https://svnweb.freebsd.org/changeset/base/289588

Log:
  xen-netfront: no need to set if_output
  
  This is redundant because ether_ifattach will set that field.
  
  Submitted by:		Wei Liu <wei.liu2@citrix.com>
  Reviewed by:		royger
  Differential Revision:	https://reviews.freebsd.org/D3918
  Sponsored by:		Citrix Systems R&D

Modified:
  head/sys/dev/xen/netfront/netfront.c

Modified: head/sys/dev/xen/netfront/netfront.c
==============================================================================
--- head/sys/dev/xen/netfront/netfront.c	Mon Oct 19 14:34:45 2015	(r289587)
+++ head/sys/dev/xen/netfront/netfront.c	Mon Oct 19 14:37:17 2015	(r289588)
@@ -1906,7 +1906,6 @@ create_netdev(device_t dev)
     	if_initname(ifp, "xn",  device_get_unit(dev));
     	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
     	ifp->if_ioctl = xn_ioctl;
-    	ifp->if_output = ether_output;
     	ifp->if_start = xn_start;
 #ifdef notyet
     	ifp->if_watchdog = xn_watchdog;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510191437.t9JEbHhI019222>