diff options
author | Chas Williams <chas@cmf.nrl.navy.mil> | 2011-08-01 17:56:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-29 14:32:53 -0700 |
commit | 62964f4c5313946f57ee937a316f34ec55bebe06 (patch) | |
tree | f8f341f06a56752e81b7c1f7406078dcef71c499 | |
parent | 81c42706ecfd84779037229b44de77d2e2e5cf00 (diff) | |
download | lwn-62964f4c5313946f57ee937a316f34ec55bebe06.tar.gz lwn-62964f4c5313946f57ee937a316f34ec55bebe06.zip |
atm: br2864: sent packets truncated in VC routed mode
commit a08af810cdc29d2ca930e8a869d3d01744c392d8 upstream.
Reported-by: Pascal Hambourg <pascal@plouf.fr.eu.org>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | net/atm/br2684.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c index c9230c398697..be1c1d2cffd0 100644 --- a/net/atm/br2684.c +++ b/net/atm/br2684.c @@ -208,8 +208,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); |