aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-21 16:22:09 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-21 16:22:09 +0200
commit0e84de39c3ea074af59dc42808ee2b210732fe71 (patch)
tree36a098a02c82ac00d8dbc53e9fa2411b5389e877 /target/linux/generic
parent1fdc2c21c30c6b3309eb4ccb4a970c6c664beadb (diff)
downloadmaster-187ad058-0e84de39c3ea074af59dc42808ee2b210732fe71.tar.gz
master-187ad058-0e84de39c3ea074af59dc42808ee2b210732fe71.tar.bz2
master-187ad058-0e84de39c3ea074af59dc42808ee2b210732fe71.zip
kernel: fix unaligned access issue in the bridge multicast-to-unicast patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch b/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
index d656f5d67e..bab091262c 100644
--- a/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
+++ b/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
@@ -300,17 +300,17 @@ Implement optinal multicast->unicast conversion for igmp snooping
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
-@@ -158,6 +158,9 @@ struct net_bridge_port_group {
+@@ -157,7 +157,9 @@ struct net_bridge_port_group {
+ struct rcu_head rcu;
struct timer_list timer;
struct br_ip addr;
- unsigned char state;
-+
+ unsigned char eth_addr[ETH_ALEN];
+ unsigned char state;
+ bool unicast;
};
struct net_bridge_mdb_entry
-@@ -554,7 +557,8 @@ void br_multicast_free_pg(struct rcu_hea
+@@ -554,7 +556,8 @@ void br_multicast_free_pg(struct rcu_hea
struct net_bridge_port_group *
br_multicast_new_port_group(struct net_bridge_port *port, struct br_ip *group,
struct net_bridge_port_group __rcu *next,