diff options
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r-- | net/bridge/br_input.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index be5ab8df6661..edfdaef44296 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c | |||
@@ -72,14 +72,11 @@ int br_handle_frame_finish(struct sk_buff *skb) | |||
72 | skb = NULL; | 72 | skb = NULL; |
73 | } | 73 | } |
74 | 74 | ||
75 | if (skb2 == skb) | ||
76 | skb2 = skb_clone(skb, GFP_ATOMIC); | ||
77 | |||
78 | if (skb) { | 75 | if (skb) { |
79 | if (dst) | 76 | if (dst) |
80 | br_forward(dst->dst, skb); | 77 | br_forward(dst->dst, skb); |
81 | else | 78 | else |
82 | br_flood_forward(br, skb); | 79 | br_flood_forward(br, skb, skb2); |
83 | } | 80 | } |
84 | 81 | ||
85 | if (skb2) | 82 | if (skb2) |