On Dec 30, 2007 9:07 AM, chas williams - CONTRACTOR
<[EMAIL PROTECTED]> wrote:
> commit fea6b121bcc150fc91186e5012466c91944ce64d
> Author: Eric Kinzie <[EMAIL PROTECTED]>
> Date: Fri Oct 26 08:05:08 2007 -0400
>
> [ATM]: [br2864] routed support
>
> From: Eric Kinzie <[EMAIL PROTECTED]>
> Signed-off-by: Chas Williams <[EMAIL PROTECTED]>
>
> @@ -320,35 +361,50 @@ static void br2684_push(struct atm_vcc *atmvcc, struct
> sk_buff *skb)
> } else {
> /* first 2 chars should be 0 */
> if (*((u16 *) (skb->data)) != 0) {
> brdev->stats.rx_errors++;
> dev_kfree_skb(skb);
> return;
> }
> + skb_pull(skb, BR2684_PAD_LEN + ETH_HLEN); /* pad, dstmac,
> srcmac, ethtype */
> + skb->protocol = eth_type_trans(skb, net_dev);
> }
Question to decode the encaps=VCMUX and bridge mode:
This line
skb_pull((skb, BR2684_PAD_LEN + ETH_HLEN);
should be replaced by
skb_pull((skb, BR2684_PAD_LEN);
?
By the way, this routed mode patch doesn't include encaps=VCMUX and
RFC2684 routed
protocol decapsulation?
--
Lino, Chung-Chi Lo
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html