* [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set
@ 2013-03-27 4:09 Tony Cheneau
2013-03-27 4:09 ` [PATCH net-next 1/2] 6lowpan: fix a small formatting issue Tony Cheneau
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tony Cheneau @ 2013-03-27 4:09 UTC (permalink / raw)
To: David S. Miller, Eric Dumazet
Cc: Alan Ott, Alexander Smirnov, netdev, linux-zigbee-devel
Few minor issues were reported by Alexander Aring and Sergei Shtylyov on my
previous 6lowpan patch set (named "6lowpan: Some more bug fixes").
Sadly, I didn't had time to address them before the code was merged into
net-next. These two (short) patches fix them.
I'm sorry for the mess I caused.
Regards,
Tony Cheneau
Tony Cheneau (2):
6lowpan: fix a small formatting issue
6lowpan: use IEEE802154_ADDR_LEN instead of a magic number
net/ieee802154/6lowpan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
1.7.12.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next 1/2] 6lowpan: fix a small formatting issue
2013-03-27 4:09 [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set Tony Cheneau
@ 2013-03-27 4:09 ` Tony Cheneau
2013-03-27 4:09 ` [PATCH net-next 2/2] 6lowpan: use IEEE802154_ADDR_LEN instead of a magic number Tony Cheneau
2013-03-27 4:55 ` [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Tony Cheneau @ 2013-03-27 4:09 UTC (permalink / raw)
To: David S. Miller, Eric Dumazet
Cc: Alan Ott, Alexander Smirnov, netdev, linux-zigbee-devel
This formatting issue was introduced with commit
d4ac32365dcbfd341a87eae444c26679f889249a
Signed-off-by: Tony Cheneau <tony.cheneau@amnesiak.org>
---
net/ieee802154/6lowpan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index c9c3f3d..f4969d7 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802154/6lowpan.c
@@ -104,7 +104,7 @@ static const u8 lowpan_llprefix[] = {0xfe, 0x80};
struct lowpan_dev_info {
struct net_device *real_dev; /* real WPAN device ptr */
struct mutex dev_list_mtx; /* mutex for list ops */
- unsigned short fragment_tag;
+ unsigned short fragment_tag;
};
struct lowpan_dev_record {
--
1.7.12.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH net-next 2/2] 6lowpan: use IEEE802154_ADDR_LEN instead of a magic number
2013-03-27 4:09 [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set Tony Cheneau
2013-03-27 4:09 ` [PATCH net-next 1/2] 6lowpan: fix a small formatting issue Tony Cheneau
@ 2013-03-27 4:09 ` Tony Cheneau
2013-03-27 4:55 ` [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Tony Cheneau @ 2013-03-27 4:09 UTC (permalink / raw)
To: David S. Miller, Eric Dumazet
Cc: Alan Ott, Alexander Smirnov, netdev, linux-zigbee-devel
Signed-off-by: Tony Cheneau <tony.cheneau@amnesiak.org>
---
net/ieee802154/6lowpan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index f4969d7..e1b4580 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802154/6lowpan.c
@@ -602,7 +602,7 @@ static int lowpan_header_create(struct sk_buff *skb,
da.short_addr = IEEE802154_ADDR_BROADCAST;
} else {
da.addr_type = IEEE802154_ADDR_LONG;
- memcpy(&(da.hwaddr), daddr, 8);
+ memcpy(&(da.hwaddr), daddr, IEEE802154_ADDR_LEN);
/* request acknowledgment */
mac_cb(skb)->flags |= MAC_CB_FLAG_ACKREQ;
--
1.7.12.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set
2013-03-27 4:09 [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set Tony Cheneau
2013-03-27 4:09 ` [PATCH net-next 1/2] 6lowpan: fix a small formatting issue Tony Cheneau
2013-03-27 4:09 ` [PATCH net-next 2/2] 6lowpan: use IEEE802154_ADDR_LEN instead of a magic number Tony Cheneau
@ 2013-03-27 4:55 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-03-27 4:55 UTC (permalink / raw)
To: tony.cheneau
Cc: eric.dumazet, alan, alex.bluesman.smirnov, netdev, linux-zigbee-devel
From: Tony Cheneau <tony.cheneau@amnesiak.org>
Date: Wed, 27 Mar 2013 00:09:23 -0400
> Few minor issues were reported by Alexander Aring and Sergei Shtylyov on my
> previous 6lowpan patch set (named "6lowpan: Some more bug fixes").
> Sadly, I didn't had time to address them before the code was merged into
> net-next. These two (short) patches fix them.
All applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-27 4:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-27 4:09 [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set Tony Cheneau
2013-03-27 4:09 ` [PATCH net-next 1/2] 6lowpan: fix a small formatting issue Tony Cheneau
2013-03-27 4:09 ` [PATCH net-next 2/2] 6lowpan: use IEEE802154_ADDR_LEN instead of a magic number Tony Cheneau
2013-03-27 4:55 ` [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.