lkml.org 
[lkml]   [2003]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH][ATM] get skb->len right after adjusting head
    when the lane client strips off the lec it should also adjust the length
    of skb

    Index: linux/net/atm/lec.c
    ===================================================================
    RCS file: /home/chas/CVSROOT/linux/net/atm/lec.c,v
    retrieving revision 1.3
    retrieving revision 1.4
    diff -u -d -b -w -r1.3 -r1.4
    --- linux/net/atm/lec.c 22 Feb 2003 17:38:23 -0000 1.3
    +++ linux/net/atm/lec.c 22 Feb 2003 17:43:41 -0000 1.4
    @@ -714,6 +714,7 @@
    }
    skb->dev = dev;
    skb->data += 2; /* skip lec_id */
    + skb->len -= 2;
    #ifdef CONFIG_TR
    if (priv->is_trdev) skb->protocol = tr_type_trans(skb, dev);
    else
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:0.027 / U:1.516 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site