Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2016 12:01:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 212283] oversized IP datagrams on raw socket with IP_RAWOUTPUT hang network interface drivers
Message-ID:  <bug-212283-2472-7vflH3K4Oj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212283-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212283-2472@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=3D212283

Michael Tuexen <tuexen@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tuexen@freebsd.org

--- Comment #17 from Michael Tuexen <tuexen@freebsd.org> ---
(In reply to Gleb Smirnoff from comment #12)
Normally the kernel does fragmentation for raw IP packets. So I would prefe=
r to
keep that. But can't we check that the length provided in the send call mat=
ches
the length in the IP header. If there is a mismatch, return an error to the
user (indicating EINVAL)? That way the user gets an indication that some
information was inconsistent.

--=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-212283-2472-7vflH3K4Oj>