net: mac802154: tx: expand tailroom if necessary
authorAlexander Aring <aring@mojatatu.com>
Mon, 2 Jul 2018 20:32:03 +0000 (16:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Sep 2018 17:55:52 +0000 (19:55 +0200)
commit4a2262972b5dab51e1e09dee8992d29b4946c1ab
treef76bb8ceaba25bc44a3303933b6e0ada8d313aea
parent54c0fa829d45f9ad40e40a47d7a899d47dc23569
net: mac802154: tx: expand tailroom if necessary

commit f9c52831133050c6b82aa8b6831c92da2bbf2a0b upstream.

This patch is necessary if case of AF_PACKET or other socket interface
which I am aware of it and didn't allocated the necessary room.

Reported-by: David Palma <david.palma@ntnu.no>
Reported-by: Rabi Narayan Sahoo <rabinarayans0828@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac802154/tx.c