This is a note to let you know that I've just added the patch titled
6lowpan: Fix endianness issue in is_addr_link_local().
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:
6lowpan-fix-endianness-issue-in-is_addr_link_local.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 ad06d6dfb70a018be6e1da740aff32ec97933162 Mon Sep 17 00:00:00 2001
From: YOSHIFUJI Hideaki <[email protected]>
Date: Sat, 9 Mar 2013 09:11:57 +0000
Subject: 6lowpan: Fix endianness issue in is_addr_link_local().
From: YOSHIFUJI Hideaki <[email protected]>
[ Upstream commit 9026c4927254f5bea695cc3ef2e255280e6a3011 ]
Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/ieee802154/6lowpan.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/ieee802154/6lowpan.h
+++ b/net/ieee802154/6lowpan.h
@@ -84,7 +84,7 @@
(memcmp(addr1, addr2, length >> 3) == 0)
/* local link, i.e. FE80::/10 */
-#define is_addr_link_local(a) (((a)->s6_addr16[0]) == 0x80FE)
+#define is_addr_link_local(a) (((a)->s6_addr16[0]) == htons(0xFE80))
/*
* check whether we can compress the IID to 16 bits,
Patches currently in stable-queue which might be from [email protected]
are
queue-3.8/net-ipv6-don-t-purge-default-router-if-accept_ra-2.patch
queue-3.8/ipv6-stop-multicast-forwarding-to-process-interface-scoped-addresses.patch
queue-3.8/6lowpan-fix-endianness-issue-in-is_addr_link_local.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