Skip to contentSkip to conversation

6lowpan: reassembly: fix access of ctl table entry

PATCH Applied Alexander Aring 2 participants 2 messages Mar 9, 2014 – Mar 10, 2014 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Alexander Aring

author maintainer
#0 lore raw

PATCH 1/1 6lowpan: reassembly: fix access of ctl table entry

Correct offset is 3 of the 6lowpanfrag_max_datagram_size value in proc entry ctl table and not 2.

---
 net/ieee802154/reassembly.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ieee802154/reassembly.c +1 -1
index bf06492..f4ac957 100644
@@ -441,7 +441,7 @@ static int __net_init lowpan_frags_ns_sysctl_register(struct net *net)
 		table[0].data = &net->ieee802154_lowpan.frags.high_thresh;
 		table[1].data = &net->ieee802154_lowpan.frags.low_thresh;
 		table[2].data = &net->ieee802154_lowpan.frags.timeout;
-		table[2].data = &net->ieee802154_lowpan.max_dsize;
+		table[3].data = &net->ieee802154_lowpan.max_dsize;
 
 		/* Don't export sysctls to unprivileged users */
 		if (net->user_ns != &init_user_ns)
Signature · 1 line
1.9.0

A message that is not in the archive (sent off-list or not yet received): 1394355100-27824-1-git-send-email-alex.aring-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Applied
#2 lore raw

From: Alexander Aring <[email protected]>
Date: Sun, 9 Mar 2014 09:51:40 +0100

Quoted 4 lines

Correct offset is 3 of the 6lowpanfrag_max_datagram_size value in proc entry ctl table and not 2.

Applied, thanks.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech