OSDN Git Service

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 18:04:32 +0000 (20:04 +0200)
commitaeca800e562ddca7449f8d39732f4cd2b5a41dce
tree275482d260c5d2ee8027fd9e44c4cbb88ed44686
parent4e55d28084cc1c94c62b63ece1eeeeb29dc4941e
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