[Bug 212283] oversized IP datagrams on raw socket with IP_RAWOUTPUT hang network interface drivers
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 14 12:01:45 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212283
Michael Tuexen <tuexen at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tuexen at freebsd.org
--- Comment #17 from Michael Tuexen <tuexen at freebsd.org> ---
(In reply to Gleb Smirnoff from comment #12)
Normally the kernel does fragmentation for raw IP packets. So I would prefer to
keep that. But can't we check that the length provided in the send call matches
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list