]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Merge branch 'AF_PACKET-transport_offset-fix'
authorDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 20:55:32 +0000 (12:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 20:55:32 +0000 (12:55 -0800)
commitd29d1c4957d4dde1a7578b10f2a2d1fae39bd47a
treeb41c5aa5786c702502de08f1560751c51170156e
parent5328b633c9b3c3af38bec8cb70120658c0866e0a
parent41f5f63cd17530d9eddaf99a71f5d069afd787d8
Merge branch 'AF_PACKET-transport_offset-fix'

Maxim Mikityanskiy says:

====================
AF_PACKET transport_offset fix

This patch series contains the implementation of the RFC that was posted
on this mailing list previously:
https://www.spinics.net/lists/netdev/msg541709.html

It fixes having incorrect skb->transport_header values in cases when
dissect fails. Having correct values set by the kernel fixes mlx5
operation and allows to remove some unnecessary code flows in mlx5.

v2 changes:

- Rebase against the fresh net-next.
- Don't return bool from skb_probe_transport_header (and don't rename
  the function).
- WARN_ON_ONCE and error path in case of GSO without the L4 header.
====================

Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>