[{xenial, disco}:linux-azure PATCH 0/1] LP:#1855461 - [linux-azure] SAUCE patch to "Fix skb protocol value in tpacket_fill_skb()"

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Thu Dec 12 14:00:43 UTC 2019

BugLink: https://bugs.launchpad.net/bugs/1855461

On linux-azure 4.15 and 5.0, packets sent via raw sockets with
ETH_P_ALL do not match the TC ip filters even if they did satisfy the
condition and that's affecting the workload of an specific user on

The fix[1] for this issue was included in 5.1 and a direct and clean
backport would require bringing back a large amount of other changes,
increasing the risk of regressions. To minimize this risk, the fix was
adapted to previous versions fixing only the necessary paths
(basically tpacket_fill_skb()).

The user has provided positive feedback that this patch actually fixes
the problem found on their workload. The priority is to include this
fix into Xenial (4.15) and we can discuss if it should be included or
not into Disco, considering that Disco is approaching EOL.

[1] 18bed89107a4 ("af_packet: fix the tx skb protocol in raw sockets
    with ETH_P_ALL")

Raghav Kempanna (1):
  SAUCE: af_packet: Fix skb protocol value in tpacket_fill_skb()

 net/packet/af_packet.c | 9 +++++++++
 1 file changed, 9 insertions(+)


More information about the kernel-team mailing list