]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-af_packet-be-careful-when-expanding-mac-header-size'
authorJakub Kicinski <kuba@kernel.org>
Thu, 2 Jun 2022 17:15:07 +0000 (10:15 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Jun 2022 17:15:07 +0000 (10:15 -0700)
commit38eb2ee7981346f7b3dc7e48a4f3684a8b4587df
tree34b08ac6780f9024f3c5e61d896e96888782b5d4
parent23597800f1c755f6202fc8b00ebb5ef85920aba1
parent969eb5ea40e79aa6dae1733e6be084660c25ba5f
Merge branch 'net-af_packet-be-careful-when-expanding-mac-header-size'

Eric Dumazet says:

====================
net: af_packet: be careful when expanding mac header size

A recent regression in af_packet needed a preliminary debug patch,
which will presumably be useful for next bugs hunting.

The af_packet fix is to make sure MAC headers are contained in
skb linear part, as GSO stack requests.

v2: CONFIG_DEBUG_NET depends on CONFIG_NET to avoid compile
   errors found by kernel bots.
====================

Link: https://lore.kernel.org/r/20220602161859.2546399-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>