summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/capability.h
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-10-21 11:11:58 +0000
committerflorian <florian@openbsd.org>2020-10-21 11:11:58 +0000
commitb1f4f7a2b84630c3198b012da2097c9d6c717233 (patch)
treeaf29b6e3e51a2992950eb70705d449128d6f039e /sys/dev/pci/drm/include/linux/capability.h
parentSpecify version with fw_update(1) (diff)
downloadwireguard-openbsd-b1f4f7a2b84630c3198b012da2097c9d6c717233.tar.xz
wireguard-openbsd-b1f4f7a2b84630c3198b012da2097c9d6c717233.zip
ICMP raw sockets start to receive packets as soon as they are created
by socket(2). They also receive all ICMP packets on the system, for example from parallel running ping(8)s. After creating the raw socket ping(8) sets various socket options with setsockopt(2) and assumes that they apply to all packets it later processes. For example ping6(8) uses setsockopt(IPV6_RECVHOPLIMIT) to print the IPv6 hop count. Packets received between the socket(2) and setsockopt(2) call however do not have the hoplimit information and ping6(8) prints a wrong and missleading warning. To avoid this we have to drain our socket of packets we received before we were fully setup. Problem reported and testing by martijn Input deraadt OK benno
Diffstat (limited to 'sys/dev/pci/drm/include/linux/capability.h')
0 files changed, 0 insertions, 0 deletions