]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ieee802154: lowpan_header_create check must check daddr
authorWillem de Bruijn <willemb@google.com>
Sun, 23 Dec 2018 17:52:18 +0000 (12:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jan 2019 16:14:43 +0000 (17:14 +0100)
commit59a3d2dc594ae27edbdb164b770ab287020dce93
tree7fd9610cdf8c99e467150c5aa69e4ce6941466a6
parent8d349348cb2eb2e913716b929c871932bd7ac38d
ieee802154: lowpan_header_create check must check daddr

[ Upstream commit 40c3ff6d5e0809505a067dd423c110c5658c478c ]

Packet sockets may call dev_header_parse with NULL daddr. Make
lowpan_header_ops.create fail.

Fixes: 87a93e4eceb4 ("ieee802154: change needed headroom/tailroom")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ieee802154/6lowpan/tx.c