summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2024-04-18 16:29:08 +0300
committerDavid S. Miller <davem@davemloft.net>2024-04-19 14:54:33 +0300
commitf58f45c1e5b92975e91754f5407250085a6ae7cf (patch)
treedcbdc060f1c381656b24f5a68941b4aee940b7a9 /.get_maintainer.ignore
parent69197dfc64007b5292cc960581548f41ccd44828 (diff)
downloadlinux-f58f45c1e5b92975e91754f5407250085a6ae7cf.tar.xz
vxlan: drop packets from invalid src-address
The VXLAN driver currently does not check if the inner layer2 source-address is valid. In case source-address snooping/learning is enabled, a entry in the FDB for the invalid address is created with the layer3 address of the tunnel endpoint. If the frame happens to have a non-unicast address set, all this non-unicast traffic is subsequently not flooded to the tunnel network but sent to the learnt host in the FDB. To make matters worse, this FDB entry does not expire. Apply the same filtering for packets as it is done for bridges. This not only drops these invalid packets but avoids them from being learnt into the FDB. Fixes: d342894c5d2f ("vxlan: virtual extensible lan") Suggested-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David Bauer <mail@david-bauer.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions