]> 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)
commitef48080a9d480dbdde180bdadc3ff860b942f432
tree34b08ac6780f9024f3c5e61d896e96888782b5d4
parentb004407d594ddcfc07b4fe57d25c2193aef62096
parentde5dcd1a0e66b215fad59557aee262ec7306634b
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>