svn commit: r304436 - in head: . sys/netinet

Ryan Stone rysto32 at gmail.com
Sat Aug 20 18:02:17 UTC 2016


On Sat, Aug 20, 2016 at 1:30 PM, Slawa Olhovchenkov <slw at zxy.spb.ru> wrote:

> For host enought have [hidden] alias with broadcsts bits.
> Anyway, don't should relay on the L2 information, you can recive L3
> unicast addressed packets (with alien dst IP address) in L2 broadcas
> packet.
>

This is still handled correctly.  The new code only checks for L3 broadcast
addresses on L2 broadcast packets, but we still check the L3 address before
treating it as a broadcast. The problem is that I assumed that all paths
into the IP stack would set M_BCAST, but as Bruce has pointed out there are
cases like PPP which do not.


More information about the svn-src-head mailing list