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)
commit638696efc14729759c1d735e19e87606450b80a8
tree34b08ac6780f9024f3c5e61d896e96888782b5d4
parent83450bbafebdaf90818e77ee368202f03d056cd7
parente9d3f80935b6607dcdc5682b00b1d4b28e0a0c5d
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>