]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: add description about martian source
authorZhang Yunkai <zhang.yunkai@zte.com.cn>
Mon, 14 Feb 2022 03:27:21 +0000 (03:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Feb 2022 14:30:48 +0000 (14:30 +0000)
commitc69c6dcde5570f85b62711b5a456a31328840b22
tree8cef4734bc5e2f9aa24771891c279597bf87ea41
parent0ac61896f3aa9e6a940877e5a305105e161266b8
ipv4: add description about martian source

When multiple containers are running in the environment and multiple
macvlan network port are configured in each container, a lot of martian
source prints will appear after martian_log is enabled. they are almost
the same, and printed by net_warn_ratelimited. Each arp message will
trigger this print on each network port.

Such as:
IPv4: martian source 173.254.95.16 from 173.254.100.109,
on dev eth0
ll header: 00000000: ff ff ff ff ff ff 40 00 ad fe 64 6d
08 06        ......@...dm..
IPv4: martian source 173.254.95.16 from 173.254.100.109,
on dev eth1
ll header: 00000000: ff ff ff ff ff ff 40 00 ad fe 64 6d
08 06        ......@...dm..

There is no description of this kind of source in the RFC1812.

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c