Re: [PATCH net-next 1/4] net: cdc_mbim: optionally use VLAN ID 4094 for IP session 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bjørn Mork <bjorn@xxxxxxx> writes:

> @@ -164,12 +211,24 @@ static struct sk_buff *cdc_mbim_tx_fixup(struct usbnet *dev, struct sk_buff *skb
>  			skb_pull(skb, ETH_HLEN);
>  		}
>  
> +		/* Is IP session <0> tagged too? */
> +		if (!tci && info->flags & FLAG_IPS0_VLAN) {
> +			/* drop all untagged packets */
> +			if (!tci)
> +				goto error;
> +			/* map MBIM_IPS0_VID to IPS<0> */
> +			if (tci == MBIM_IPS0_VID)
> +				tci = 0;
> +		}

This is embarrassing.  I made a mess of this, "tidying" it up while
doing the final rebase before submitting.  And obviously never tested
the final result...

Will fix and submbit a new version.  Sorry for the noise.


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux