linux/net/ieee802154
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 net: ieee802154: 6lowpan: fix frag reassembly 2018-04-23 20:56:24 +02:00
Kconfig
Makefile
core.c net: Drop pernet_operations::async 2018-03-27 13:18:09 -04:00
core.h
header_ops.c
ieee802154.h
netlink.c
nl-mac.c
nl-phy.c
nl802154.c
nl802154.h
nl_policy.c
rdev-ops.h
socket.c
sysfs.c
sysfs.h
trace.c
trace.h