Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS Gluon
Commits
83ad9d32
Unverified
Commit
83ad9d32
authored
1 year ago
by
Andreas Ziegler
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3206 from blocktrron/v2023.2.x-updates
[v2023.2.x] modules: update to latest HEAD
parents
64cd0912
6006526d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules
+4
-4
4 additions, 4 deletions
modules
patches/openwrt/0008-net-vxlan-don-t-learn-non-unicast-L2-destinations.patch
+0
-48
0 additions, 48 deletions
...8-net-vxlan-don-t-learn-non-unicast-L2-destinations.patch
with
4 additions
and
52 deletions
modules
+
4
−
4
View file @
83ad9d32
...
...
@@ -2,15 +2,15 @@ GLUON_FEEDS='gluon packages routing'
OPENWRT_REPO=https://github.com/openwrt/openwrt.git
OPENWRT_BRANCH=openwrt-23.05
OPENWRT_COMMIT=
48c81b80b27731b41e882b992b5c7b0813073fba
OPENWRT_COMMIT=
78d493af229c2e20a81f01b1d87685da4a897822
PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
PACKAGES_GLUON_COMMIT=
53ea3b89771fc7d7a80f1800ce25e98dfe1633aa
PACKAGES_GLUON_COMMIT=
3d08b0fee8dc5d96d8bcdb985fad1d5564de4022
PACKAGES_PACKAGES_REPO=https://github.com/openwrt/packages.git
PACKAGES_PACKAGES_BRANCH=openwrt-23.05
PACKAGES_PACKAGES_COMMIT=
309ee2c264be74df4b82924ae5b1de21783b3ff4
PACKAGES_PACKAGES_COMMIT=
cd5f6637f2c500aa24ed453f510d5e5821c25496
PACKAGES_ROUTING_REPO=https://github.com/openwrt/routing.git
PACKAGES_ROUTING_BRANCH=openwrt-23.05
PACKAGES_ROUTING_COMMIT=
2a3bad8349f1fad631aea8daa4f20343a8cc4457
PACKAGES_ROUTING_COMMIT=
648753932d5a7deff7f2bdb33c000018a709ad84
This diff is collapsed.
Click to expand it.
patches/openwrt/0008-net-vxlan-don-t-learn-non-unicast-L2-destinations.patch
deleted
100644 → 0
+
0
−
48
View file @
64cd0912
From: David Bauer <mail@david-bauer.net>
Date: Sat, 17 Feb 2024 22:37:05 +0100
Subject: net vxlan: don't learn non-unicast L2 destinations
See Gluon #3191
Link: https://github.com/freifunk-gluon/gluon/issues/3191
Signed-off-by: David Bauer <mail@david-bauer.net>
diff --git a/target/linux/generic/hack-5.15/999-net-vxlan-don-t-learn-non-unicast-L2-destinations.patch b/target/linux/generic/hack-5.15/999-net-vxlan-don-t-learn-non-unicast-L2-destinations.patch
new file mode 100644
index 0000000000000000000000000000000000000000..0be8783287b32c33ec76e19b8407397f8f0fe5f3
--- /dev/null
+++ b/target/linux/generic/hack-5.15/999-net-vxlan-don-t-learn-non-unicast-L2-destinations.patch
@@ -0,0 +1,32 @@
+From 3f1a227cb071f65f6ecc4db9f399649869735a7c Mon Sep 17 00:00:00 2001
+From: David Bauer <mail@david-bauer.net>
+Date: Sat, 17 Feb 2024 22:34:59 +0100
+Subject: [PATCH] net vxlan: don't learn non-unicast L2 destinations
+
+See Gluon #3191
+
+Link: https://github.com/freifunk-gluon/gluon/issues/3191
+
+Signed-off-by: David Bauer <mail@david-bauer.net>
+---
+ drivers/net/vxlan.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c
+index 141635a35c28..253a741d6c36 100644
+--- a/drivers/net/vxlan/vxlan_core.c
++++ b/drivers/net/vxlan/vxlan_core.c
+@@ -1467,6 +1467,10 @@ static bool vxlan_snoop(struct net_device *dev,
+ struct vxlan_fdb *f;
+ u32 ifindex = 0;
+
++ /* Don't learn broadcast packets (Gluon #3191) */
++ if (is_multicast_ether_addr(src_mac) || is_zero_ether_addr(src_mac))
++ return false;
++
+ #if IS_ENABLED(CONFIG_IPV6)
+ if (src_ip->sa.sa_family == AF_INET6 &&
+ (ipv6_addr_type(&src_ip->sin6.sin6_addr) & IPV6_ADDR_LINKLOCAL))
+--
+2.43.0
+
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment