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

Adrian Chadd adrian at freebsd.org
Sat Aug 20 18:09:03 UTC 2016


On 20 August 2016 at 11:02, Ryan Stone <rysto32 at gmail.com> wrote:
> 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.

Hi,

So why not fix those paths?



-adrian


More information about the svn-src-all mailing list