]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid trashing IP fragments:
authorjhb <jhb@FreeBSD.org>
Thu, 25 Jul 2013 16:34:34 +0000 (16:34 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 25 Jul 2013 16:34:34 +0000 (16:34 +0000)
commitf6535606ea17dfb84e0f664b8912bdb63d2b85b9
treee99d60c5ae4262e30a77361208a018a6c4b424f9
parentb4c061ba1137ccc9e851843568b78f68143be9ae
Avoid trashing IP fragments:
- Only enable UDP/TCP hardware checksums if CSUM_UDP or CSUM_TCP is set.
- Only enable IP hardware checksums if CSUM_IP is set.

PR: kern/180430
Submitted by: Meny Yossefi <menyy@mellanox.com>
MFC after: 1 week
sys/ofed/drivers/net/mlx4/en_tx.c