1
0
Fork 0
remarkable-linux/net/ieee802154/6lowpan
Eric Dumazet 5fff99e88a inet: frags: fix ip6frag_low_thresh boundary
Giving an integer to proc_doulongvec_minmax() is dangerous on 64bit arches,
since linker might place next to it a non zero value preventing a change
to ip6frag_low_thresh.

ip6frag_low_thresh is not used anymore in the kernel, but we do not
want to prematuraly break user scripts wanting to change it.

Since specifying a minimal value of 0 for proc_doulongvec_minmax()
is moot, let's remove these zero values in all defrag units.

Fixes: 6e00f7dd5e ("ipv6: frags: fix /proc/sys/net/ipv6/ip6frag_low_thresh")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 3d23401283)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-19 22:43:47 +02:00
..
6lowpan_i.h inet: frags: use rhashtables for reassembly units 2018-09-19 22:43:46 +02:00
Kconfig ieee802154: create 6lowpan sub-directory 2015-01-08 07:25:59 +01:00
Makefile ieee802154: 6lowpan: fix Makefile entry 2015-01-08 15:48:06 +01:00
core.c ieee802154: 6lowpan: set IFLA_LINK 2018-08-24 13:09:12 +02:00
reassembly.c inet: frags: fix ip6frag_low_thresh boundary 2018-09-19 22:43:47 +02:00
rx.c ieee802154: 6lowpan: fix intra pan id check 2016-07-08 13:23:12 +02:00
tx.c net: 6lowpan: fix reserved space for single frames 2018-09-09 19:55:52 +02:00