Fix off-by-one introduced by the conversion to the driver API.
Submitted by: Sreekanth Rupavatharam <rupavath@juniper.net> Obtained from: Juniper Networks, Inc.
This commit is contained in:
parent
56276a9f52
commit
5c2d4aa979
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user