Author: marcel Date: Wed Jul 2 16:17:48 2014 New Revision: 268165 URL: http://svnweb.freebsd.org/changeset/base/268165
Log: Fix off-by-one introduced by the conversion to the driver API. Submitted by: Sreekanth Rupavatharam <rupav...@juniper.net> Obtained from: Juniper Networks, Inc. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ============================================================================== --- head/sys/dev/bge/if_bge.c Wed Jul 2 16:11:59 2014 (r268164) +++ head/sys/dev/bge/if_bge.c Wed Jul 2 16:17:48 2014 (r268165) @@ -3738,7 +3738,7 @@ bge_attach(device_t dev) if_setioctlfn(ifp, bge_ioctl); if_setstartfn(ifp, bge_start); if_setinitfn(ifp, bge_init); - if_setsendqlen(ifp, BGE_TX_RING_CNT); + if_setsendqlen(ifp, BGE_TX_RING_CNT - 1); if_setsendqready(ifp); if_sethwassist(ifp, sc->bge_csum_features); if_setcapabilities(ifp, IFCAP_HWCSUM | IFCAP_VLAN_HWTAGGING | _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"