[PATCH 1/1] atm: br2864: sent packets truncated in VC routed mode

Subsystems: atm, networking [general], the rest

STALE5557d

2 messages, 2 authors, 2011-08-02 · open the first message on its own page

[PATCH 1/1] atm: br2864: sent packets truncated in VC routed mode

From: chas williams - CONTRACTOR <hidden>
Date: 2011-08-01 15:05:52

hopefully this could be included for the next kernel release.

From: chas williams - CONTRACTOR <redacted>

commit 8b5e1c9db2bcd2d13c2db08e6c6dbe66882fa186
Author: chas williams - CONTRACTOR [off-list ref]
Date:   Mon Aug 1 07:55:07 2011 -0400

    atm: br2864: sent packets truncated in VC routed mode
    
    Reported-by: Pascal Hambourg [off-list ref]
    Signed-off-by: Chas Williams [off-list ref]
diff --git a/net/atm/br2684.c b/net/atm/br2684.c
index 2252c20..52cfd0c 100644
--- a/net/atm/br2684.c
+++ b/net/atm/br2684.c
@@ -242,8 +242,6 @@ static int br2684_xmit_vcc(struct sk_buff *skb, struct net_device *dev,
 		if (brdev->payload == p_bridged) {
 			skb_push(skb, 2);
 			memset(skb->data, 0, 2);
-		} else { /* p_routed */
-			skb_pull(skb, ETH_HLEN);
 		}
 	}
 	skb_debug(skb);

Re: [PATCH 1/1] atm: br2864: sent packets truncated in VC routed mode

From: David Miller <davem@davemloft.net>
Date: 2011-08-02 00:59:46

From: "chas williams - CONTRACTOR" <redacted>
Date: Mon, 01 Aug 2011 11:03:29 -0400
    atm: br2864: sent packets truncated in VC routed mode
    
    Reported-by: Pascal Hambourg [off-list ref]
    Signed-off-by: Chas Williams [off-list ref]
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help