drivers/net/wan/lapbether: Added needed_tailroom
authorXie He <xie.he.0141@gmail.com>
Fri, 21 Aug 2020 21:26:59 +0000 (14:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 08:46:26 +0000 (10:46 +0200)
commitac10e8c968fbb4b0df53810581c17bd3a387f8d9
tree16ae73c405b428d3c3da0e765bd2d991d8541e6c
parent6e5f3c2a27865946563d9f81fa2e4f8856ade01d
drivers/net/wan/lapbether: Added needed_tailroom

[ Upstream commit 1ee39c1448c4e0d480c5b390e2db1987561fb5c2 ]

The underlying Ethernet device may request necessary tailroom to be
allocated by setting needed_tailroom. This driver should also set
needed_tailroom to request the tailroom needed by the underlying
Ethernet device to be allocated.

Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wan/lapbether.c