Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Oct 2018 20:17:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces
Message-ID:  <bug-231416-7501-kq8MnICIVu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231416-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231416-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416

--- Comment #12 from commit-hook@freebsd.org ---
A commit references this bug:

Author: shurd
Date: Fri Oct  5 20:16:20 UTC 2018
New revision: 339207
URL: https://svnweb.freebsd.org/changeset/base/339207

Log:
  Fix igb corrupting checksums with BPF and VLAN

  When using a vlan with igb and the vlanhwcsum option, any mbufs which
  already had the TCP, UDP, or SCTP checksum calculated and therefore don't
  have the CSUM_[IP|IP6]_[TCP|UDP|SCTP] bits set in the csum_flags field wo=
uld
  have the L4 checksum corrupted by the hardware.

  This was caused by the driver setting E1000_TXD_POPTS_TXSM any time a
  checksum bit was set OR a vlan tag was present.

  The patched driver only sets E1000_TXD_POPTS_TXSM when an offload is
  requested.

  PR:           231416
  Reported by:  pi
  Approved by:  re (gjb)
  Sponsored by: Limelight Networks
  Differential Revision:        https://reviews.freebsd.org/D17404

Changes:
  head/sys/dev/e1000/igb_txrx.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231416-7501-kq8MnICIVu>