Date: Mon, 27 Mar 2017 01:06:25 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r316007 - stable/11/sys/dev/xen/netback Message-ID: <201703270106.v2R16P1L085701@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Mon Mar 27 01:06:25 2017 New Revision: 316007 URL: https://svnweb.freebsd.org/changeset/base/316007 Log: MFC r315878: Don't initialize if_output to ether_output(), ether_ifattach() does it for us already. While here, remove NOTYET code since if_watchdog is no longer used. Reviewed by: royger Modified: stable/11/sys/dev/xen/netback/netback.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/xen/netback/netback.c ============================================================================== --- stable/11/sys/dev/xen/netback/netback.c Sun Mar 26 21:14:49 2017 (r316006) +++ stable/11/sys/dev/xen/netback/netback.c Mon Mar 27 01:06:25 2017 (r316007) @@ -1233,11 +1233,7 @@ create_netdev(device_t dev) if_initname(ifp, xnb->if_name, IF_DUNIT_NONE); ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = xnb_ioctl; - ifp->if_output = ether_output; ifp->if_start = xnb_start; -#ifdef notyet - ifp->if_watchdog = xnb_watchdog; -#endif ifp->if_init = xnb_ifinit; ifp->if_mtu = ETHERMTU; ifp->if_snd.ifq_maxlen = NET_RX_RING_SIZE - 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703270106.v2R16P1L085701>