kernel-ark/net/ieee802154/6lowpan
Alexander Aring f18fa5de5b net: ieee802154: 6lowpan: fix frag reassembly
This patch initialize stack variables which are used in
frag_lowpan_compare_key to zero. In my case there are padding bytes in the
structures ieee802154_addr as well in frag_lowpan_compare_key. Otherwise
the key variable contains random bytes. The result is that a compare of
two keys by memcmp works incorrect.

Fixes: 648700f76b ("inet: frags: use rhashtables for reassembly units")
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Reported-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-04-23 20:56:24 +02:00
..
6lowpan_i.h net: ieee802154: 6lowpan: fix frag reassembly 2018-04-23 20:56:24 +02:00
core.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
Kconfig
Makefile
reassembly.c net: ieee802154: 6lowpan: fix frag reassembly 2018-04-23 20:56:24 +02:00
rx.c ieee802154: 6lowpan: fix intra pan id check 2016-07-08 13:23:12 +02:00
tx.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00