From owner-freebsd-xen@freebsd.org Mon Feb 27 17:56:15 2017 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4FD1CEFC7A for ; Mon, 27 Feb 2017 17:56:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA987830 for ; Mon, 27 Feb 2017 17:56:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1RHuFue062405 for ; Mon, 27 Feb 2017 17:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Mon, 27 Feb 2017 17:56:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bhavesh.davda@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 17:56:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D188990 --- Comment #12 from Bhavesh Davda --- (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 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.=