|
|
@ -25,7 +25,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> |
|
|
|
|
|
|
|
|
|
|
|
--- a/net/bridge/br_forward.c
|
|
|
|
--- a/net/bridge/br_forward.c
|
|
|
|
+++ b/net/bridge/br_forward.c
|
|
|
|
+++ b/net/bridge/br_forward.c
|
|
|
|
@@ -141,6 +141,9 @@ static int deliver_clone(const struct ne
|
|
|
|
@@ -140,6 +140,9 @@ static int deliver_clone(const struct ne
|
|
|
|
void br_forward(const struct net_bridge_port *to,
|
|
|
|
void br_forward(const struct net_bridge_port *to,
|
|
|
|
struct sk_buff *skb, bool local_rcv, bool local_orig)
|
|
|
|
struct sk_buff *skb, bool local_rcv, bool local_orig)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -35,7 +35,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> |
|
|
|
if (to && should_deliver(to, skb)) {
|
|
|
|
if (to && should_deliver(to, skb)) {
|
|
|
|
if (local_rcv)
|
|
|
|
if (local_rcv)
|
|
|
|
deliver_clone(to, skb, local_orig);
|
|
|
|
deliver_clone(to, skb, local_orig);
|
|
|
|
@@ -206,6 +209,8 @@ void br_flood(struct net_bridge *br, str
|
|
|
|
@@ -205,6 +208,8 @@ void br_flood(struct net_bridge *br, str
|
|
|
|
struct net_bridge_port *p;
|
|
|
|
struct net_bridge_port *p;
|
|
|
|
|
|
|
|
|
|
|
|
list_for_each_entry_rcu(p, &br->port_list, list) {
|
|
|
|
list_for_each_entry_rcu(p, &br->port_list, list) {
|
|
|
|