Issue found on 5.6.0-1012.12 linunx-oem-5.6 with node rizzo
Test failed with:
# selftests: net: psock_snd.sh
# dgram
# tx: 128
# rx: 142
# rx: 100
# OK
#
# dgram bind
# tx: 128
# rx: 142
# rx: 100
# OK
#
# raw
# tx: 142
# rx: 142
# rx: 100
# OK
#
# raw bind
# tx: 142
# rx: 142
# rx: 100
# OK
#
# raw qdisc bypass
# tx: 142
# rx: 142
# rx: 100
# OK
#
# raw vlan
# tx: 146
# rx: 100
# OK
#
# raw vnet hdr
# tx: 152
# rx: 142
# rx: 100
# OK
#
# raw csum_off
# tx: 152
# rx: 142
# rx: 100
# OK
#
# raw csum_off with bad offset (fails)
# ./psock_snd: write: Invalid argument
# raw min size
# tx: 42
# rx: 0
# OK
#
# raw mtu size
# tx: 1514
# rx: 1472
# OK
#
# raw mtu size + 1 (fails)
# ./psock_snd: write: Message too long
# raw vlan mtu size + 1 (fails)
# ./psock_snd: write: Message too long
# dgram mtu size
# tx: 1500
# rx: 1472
# OK
#
# dgram mtu size + 1 (fails)
# ./psock_snd: write: Message too long
# raw truncate hlen (fails: does not arrive)
# tx: 14
# ./psock_snd: recv: Resource temporarily unavailable
# raw truncate hlen - 1 (fails: EINVAL)
# ./psock_snd: write: Invalid argument
# raw gso min size
# tx: 1525
# rx: 1473
# OK
#
# raw gso min size - 1 (fails)
# tx: 1524
# rx: 1472
# OK
#
not ok 22 selftests: net: psock_snd.sh # exit=1
This was not spotted on the last cycle with 5.6.0-1011.11-oem
However, I can reproduce this on 5.6.0-1011.11-oem this time. So I won't call this a regression.