Re: [PATCH net] Fix the VLAN_TAG_PRESENT in netvsc_recv_callback()

From: David Miller
Date: Mon Jun 17 2013 - 18:58:37 EST


From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Date: Mon, 17 Jun 2013 15:36:49 -0700

> We should call __vlan_hwaccel_put_tag() only if the packet
> comes from vlan, otherwise VLAN_TAG_PRESENT will always be
> added.
>
> Reported-by: Olaf Hering <olaf@xxxxxxxxx>
> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> Reviewed-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/