mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 00:54:27 +08:00
Update to FreeBSD 9.3
This commit is contained in:
@@ -1747,9 +1747,10 @@ tcp_maxmtu(struct in_conninfo *inc, struct tcp_ifcap *cap)
|
||||
/* Report additional interface capabilities. */
|
||||
if (cap != NULL) {
|
||||
if (ifp->if_capenable & IFCAP_TSO4 &&
|
||||
ifp->if_hwassist & CSUM_TSO)
|
||||
ifp->if_hwassist & CSUM_TSO) {
|
||||
cap->ifcap |= CSUM_TSO;
|
||||
cap->tsomax = ifp->if_hw_tsomax;
|
||||
}
|
||||
}
|
||||
RTFREE(sro.ro_rt);
|
||||
}
|
||||
@@ -1785,9 +1786,10 @@ tcp_maxmtu6(struct in_conninfo *inc, struct tcp_ifcap *cap)
|
||||
/* Report additional interface capabilities. */
|
||||
if (cap != NULL) {
|
||||
if (ifp->if_capenable & IFCAP_TSO6 &&
|
||||
ifp->if_hwassist & CSUM_TSO)
|
||||
ifp->if_hwassist & CSUM_TSO) {
|
||||
cap->ifcap |= CSUM_TSO;
|
||||
cap->tsomax = ifp->if_hw_tsomax;
|
||||
}
|
||||
}
|
||||
RTFREE(sro6.ro_rt);
|
||||
}
|
||||
|
Reference in New Issue
Block a user