Displaying 5 results from an estimated 5 matches for "br_multicast_forward".
2013 Mar 08
3
[Bridge] [Patch net] bridge: do not expire mdb entry when bridge still uses it
..., vid);
 		if (mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) {
-			if ((mdst && mdst->mglist) ||
-			    br_multicast_is_router(br))
+			bool to_br = mdst && mdst->mglist;
+			if (to_br || br_multicast_is_router(br))
 				skb2 = skb;
+			if (to_br)
+				mdst->busy = true;
 			br_multicast_forward(mdst, skb, skb2);
 			skb = NULL;
 			if (!skb2)
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index 923fbea..4b12a0d 100644
--- a/net/bridge/br_multicast.c
+++ b/net/bridge/br_multicast.c
@@ -228,11 +228,16 @@ static void br_multicast_group_expired(unsigned long data)
 	if (!n...
2018 Jan 10
1
soft lockup after set multicast_router of bridge and it's port to 2
...30
    <d> 00000000880be7e1 ffff882002b9ce80 ffff882002b9ce80 ffff88200286c042
    <d> ffff88202ae7c6e0 ffff882002b9ceb8 ffff88013bc03950 ffffffffa04f36d5
    Call Trace:
     <IRQ> 
     [<ffffffffa04f3930>] ? __br_forward+0x0/0xd0 [bridge]
     [<ffffffffa04f36d5>] ? br_multicast_forward+0x15/0x20 [bridge]
     [<ffffffffa04f4a34>] ? br_handle_frame_finish+0x144/0x2a0 [bridge]
     [<ffffffffa04fa938>] ? br_nf_pre_routing_finish+0x238/0x350 [bridge]
     [<ffffffffa04faedb>] ? br_nf_pre_routing+0x48b/0x7b0 [bridge]
     [<ffffffff8143ba57>] ? __kfree_skb+0x4...
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
Joe Perches (25):
  arm: Use bool function return values of true/false not 1/0
  arm64: Use bool function return values of true/false not 1/0
  hexagon: Use bool function return values of true/false not 1/0
  ia64: Use bool function return values of true/false not 1/0
  mips: Use bool function return values of true/false not 1/0
  powerpc: Use bool function return values of true/false not 1/0
 
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
Joe Perches (25):
  arm: Use bool function return values of true/false not 1/0
  arm64: Use bool function return values of true/false not 1/0
  hexagon: Use bool function return values of true/false not 1/0
  ia64: Use bool function return values of true/false not 1/0
  mips: Use bool function return values of true/false not 1/0
  powerpc: Use bool function return values of true/false not 1/0
 
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
Joe Perches (25):
  arm: Use bool function return values of true/false not 1/0
  arm64: Use bool function return values of true/false not 1/0
  hexagon: Use bool function return values of true/false not 1/0
  ia64: Use bool function return values of true/false not 1/0
  mips: Use bool function return values of true/false not 1/0
  powerpc: Use bool function return values of true/false not 1/0