Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2017 17:56:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-xen@FreeBSD.org
Subject:   [Bug 188990] [xen] dhclient(8) does not accept DHCP Offer on FreeBSD 10 as Xen DomU Guest
Message-ID:  <bug-188990-23905-xy74TyfxQu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-188990-23905@https.bugs.freebsd.org/bugzilla/>
References:  <bug-188990-23905@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=3D188990

--- Comment #12 from Bhavesh Davda <bhavesh.davda@gmail.com> ---
(In reply to Roger Pau Monn=C3=83=C2=A9 from comment #8)

Yes, I know this change to dhclient seems unfortunately 'hackish' but is
necessary because dhcilent relies on an interface [bpf(4)] to send and rece=
ive
packets, which doesn't have a way to indicate if certain packet processing
(e.g. UDP checksum validation) should be skipped because it's been offloade=
d to
the NIC.

Besides, if you look at upstream mainline ISC DHCP, there is similar code f=
or
Linux guests as well: My proposed patch took the approach of making the bare
minimal fix to the mainline FreeBSD dhclient to achieve the same end result.

From: Thomas Markwalder <tmark@isc.org>
Date: Thu, 18 Sep 2014 15:25:02 -0400
Subject: [PATCH 1/1] [master] Checkum handling fixes
    Merges in rt22806
...
--- a/RELNOTES
+++ b/RELNOTES
@@ -95,6 +95,25 @@ by Eric Young (eay@cryptsoft.com).
   are within the declared. Thanks to Jiri Popelka at Red Hat for the bug
   report and patch.
   [ISC-Bugs #32453]
+  [ISC-Bugs #17766]
+  [ISC-Bugs #18510]
+  [ISC-Bugs #23698]
+  [ISC-Bugs #28883]
+
+- Addressed checksum issues:
+  Added checksum readiness check to Linux packet filtering which eliminates
+  invalid packet drops due to checksum errors when checksum offloading is
+  in use.  Based on dhcp-4.2.2-xen-checksum.patch made to the Fedora proje=
ct.
+  [ISC-Bugs #22806]
+  [ISC-Bugs #15902]
+  [ISC-Bugs #17739]
+  [ISC-Bugs #18010]
+  [ISC-Bugs #22556]
+  [ISC-Bugs #29769]
+  Inbound packets with UPD checksums of 0xffff now validate correctly rath=
er
+  than being dropped.
+  [ISC-Bus #24216]
+  [ISC-Bus #25587]

--=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-188990-23905-xy74TyfxQu>