diff options
author | Ryan Stone <rstone@FreeBSD.org> | 2016-08-18 22:59:05 +0000 |
---|---|---|
committer | Ryan Stone <rstone@FreeBSD.org> | 2016-08-18 22:59:05 +0000 |
commit | 41029db13f2e6a7e03e55a0b0aacd6c7acf37621 (patch) | |
tree | c8f04efadbbcb58c50f3a7df2d4e183e8d04065b /UPDATING | |
parent | 90cc51a1ab4be2388560ee1d543d3fddc8d2c6db (diff) | |
download | src-test2-41029db13f2e6a7e03e55a0b0aacd6c7acf37621.tar.gz src-test2-41029db13f2e6a7e03e55a0b0aacd6c7acf37621.zip |
Don't check for broadcast IPs on non-bcast pkts
in_broadcast() can be quite expensive, so skip calling it if the
incoming mbuf wasn't sent to a broadcast L2 address in the first
place.
Reviewed by: gnn
MFC after: 2 months
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D7309
Notes
Notes:
svn path=/head/; revision=304436
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -32,6 +32,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20160818: + The UDP receive code has been updated to only treat incoming UDP + packets that were addressed to an L2 broadcast address as L3 + broadcast packets. It is not expected that this will affect any + standards-conforming UDP application. The new behaviour can be + disabled by setting the sysctl net.inet.udp.require_l2_bcast to + 0. + +20160818: Remove the openbsd_poll system call. __FreeBSD_version has been bumped because of this. |