]> Git Repo - linux.git/commit
ipv6: Don't send rs packets to the interface of ARPHRD_TUNNEL
authorjianghaoran <[email protected]>
Fri, 29 Apr 2022 05:38:02 +0000 (13:38 +0800)
committerJakub Kicinski <[email protected]>
Mon, 2 May 2022 21:50:43 +0000 (14:50 -0700)
commitb52e1cce31ca721e937d517411179f9196ee6135
treeab11fff6918e573d25c686a5fd8e7146cfa480a3
parent829b7bdd70449c211eb6b2673fcbc597ce120939
ipv6: Don't send rs packets to the interface of ARPHRD_TUNNEL

ARPHRD_TUNNEL interface can't process rs packets
and will generate TX errors

ex:
ip tunnel add ethn mode ipip local 192.168.1.1 remote 192.168.1.2
ifconfig ethn x.x.x.x

ethn: flags=209<UP,POINTOPOINT,RUNNING,NOARP>  mtu 1480
inet x.x.x.x  netmask 255.255.255.255  destination x.x.x.x
inet6 fe80::5efe:ac1e:3cdb  prefixlen 64  scopeid 0x20<link>
tunnel   txqueuelen 1000  (IPIP Tunnel)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 3  dropped 0 overruns 0  carrier 0  collisions 0

Signed-off-by: jianghaoran <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
net/ipv6/addrconf.c
This page took 0.048246 seconds and 4 git commands to generate.