summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2005-04-17 23:02:02 +0000
committerbrad <brad@openbsd.org>2005-04-17 23:02:02 +0000
commitff5a12c6e8a78001c356973edcb18c718f076e47 (patch)
tree21bde6989b1ae8b73b04c406d7f3c68a279f6e4a /usr.bin/cvs/commit.c
parentIntermediate cast of strio_offs -> uio_offset should be u_long not long (diff)
downloadwireguard-openbsd-ff5a12c6e8a78001c356973edcb18c718f076e47.tar.xz
wireguard-openbsd-ff5a12c6e8a78001c356973edcb18c718f076e47.zip
- In vlan_input()/vlan_input_tag(), always mask off all but the VLID
bits from tags extracted from received frames. (Some drivers may already do this masking internally, but doing it here doesn't hurt and insures consistency.) - In vlan_ioctl(), don't let the user set a VLAN ID value with anything besides the VLID bits set, otherwise we will have trouble matching an interface in vlan_input() later. - Set the interface speed back to zero after ether_ifattach(). RFC 2863 says: "For a sub-layer which has no concept of bandwidth, [ifSpeed] should be zero." - Do not call if_down() on a parent interface if it's already down. From FreeBSD Tested by camield@ and Alexey E. Suslikov <cruel at texnika dot com dot ua> ok camield@
Diffstat (limited to 'usr.bin/cvs/commit.c')
0 files changed, 0 insertions, 0 deletions