Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/sys



Module Name:    src
Committed By:   snj
Date:           Sat Jul  1 08:56:07 UTC 2017

Modified Files:
        src/sys/net [netbsd-8]: if.c if.h
        src/sys/netinet [netbsd-8]: if_arp.c

Log Message:
Pull up following revision(s) (requested by roy in ticket #77):
        sys/net/if.h: revision 1.240
        sys/netinet/if_arp.c: revision 1.253
        sys/net/if.c: revision 1.395
Introduce if_get_bylla to find an interface with the active
local link address.
--
Use if_get_bylla() instead of just looking at the lla of the interface
the address belongs to.
This allows any ARP message we receieved from another interface to
be correctly dropped.
While here, move the protocol length check higher up the food chain.


To generate a diff of this commit:
cvs rdiff -u -r1.394 -r1.394.2.1 src/sys/net/if.c
cvs rdiff -u -r1.239 -r1.239.2.1 src/sys/net/if.h
cvs rdiff -u -r1.250 -r1.250.2.1 src/sys/netinet/if_arp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index