diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-11-19 09:03:12 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-11-19 09:03:12 +0000 |
commit | 9fcf944d2ab177691803626c24a94fa931a59d01 (patch) | |
tree | 3bb164c4548be8aa90b8bc3aa5a230a92e4203cc /sys/net/if.c | |
parent | 9f12066dfb1bd5648d884b4fe0d4ab8c89bf02ee (diff) | |
download | FreeBSD-src-9fcf944d2ab177691803626c24a94fa931a59d01.zip FreeBSD-src-9fcf944d2ab177691803626c24a94fa931a59d01.tar.gz |
MFC r274376:
Fix some minor TSO issues:
- Improve description of TSO limits.
- Remove a not needed KASSERT()
- Remove some not needed variable casts.
Sponsored by: Mellanox Technologies
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 2e5d0ab..2fc62ea 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -731,13 +731,6 @@ if_attach_internal(struct ifnet *ifp, int vmove) ifp->if_hw_tsomaxsegsize); } } - /* - * If the "if_hw_tsomax" limit is set, check if it is - * too small: - */ - KASSERT(ifp->if_hw_tsomax == 0 || - ifp->if_hw_tsomax >= (IP_MAXPACKET / 8), - ("%s: if_hw_tsomax is outside of range", __func__)); #endif } #ifdef VIMAGE |