This is a note to let you know that I've just added the patch titled
net: cdc_mbim: remove bogus sizeof()
to the 3.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-cdc_mbim-remove-bogus-sizeof.patch
and it can be found in the queue-3.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 39cf0635dc641cf46f6b37592cc22faff98e7a40 Mon Sep 17 00:00:00 2001
From: Bjørn Mork <[email protected]>
Date: Tue, 16 Apr 2013 00:17:07 +0000
Subject: net: cdc_mbim: remove bogus sizeof()
From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= <[email protected]>
[ Upstream commit 32b161aa88aa40a83888a995c6e2ef81140219b1 ]
The intention was to test against the constant, not the size of
the constant.
Signed-off-by: Bjørn Mork <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/net/usb/cdc_mbim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/usb/cdc_mbim.c
+++ b/drivers/net/usb/cdc_mbim.c
@@ -134,7 +134,7 @@ static struct sk_buff *cdc_mbim_tx_fixup
goto error;
if (skb) {
- if (skb->len <= sizeof(ETH_HLEN))
+ if (skb->len <= ETH_HLEN)
goto error;
/* mapping VLANs to MBIM sessions:
Patches currently in stable-queue which might be from [email protected] are
queue-3.8/net-cdc_mbim-remove-bogus-sizeof.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html