net: mac802154: tx: expand tailroom if necessary
authorAlexander Aring <aring@mojatatu.com>
Mon, 2 Jul 2018 20:32:03 +0000 (16:32 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Mon, 6 Aug 2018 09:21:37 +0000 (11:21 +0200)
commitf9c52831133050c6b82aa8b6831c92da2bbf2a0b
tree3adae5d528f6994088ab50de21e1e48d96e6669d
parentac74f87c789af40936a80131c4759f3e72579c3a
net: mac802154: tx: expand tailroom if necessary

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>
net/mac802154/tx.c