diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-05-16 22:16:12 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-05-16 22:16:12 +0000 |
commit | c45766fb054e3c82fe7be6cd5da2e6ff58e534e3 (patch) | |
tree | 6100eecedb57d1b1dedaa0a899f974bbca49ecb9 /sys/src/cmd/vnc/utf2ksym.h | |
parent | d4ce962fe33f3eca8da0b4ab2b5a81cc5359b71f (diff) |
devip: address some ipv6 issues on pkt interface
relax the maclen check as v6 neighbour disicovery might
give bigger buffers as the medium uses for the mac
address size, as the packet does not contain exact byte
count but rounds all the options to multiples of 8.
drop neighbour discovery packets coming from interfaces
with zero-length maclen.
when dialing icmpv6 protocol with link-local address
for the local ip address, filter any packets to it that
come from a different interface. otherwise ipconfig
would see router advertisements from other interfaces.
fix the locking for ipifc ctl messages: properly
acquire the wlock and check that the interface is still
bound for every ctl messages touching the interface.
make add6 ipifc ctl message work for media with
zero-length maclen by using the interface identier
from pre-existing link-local address when available.
Diffstat (limited to 'sys/src/cmd/vnc/utf2ksym.h')
0 files changed, 0 insertions, 0 deletions