Xia Yan wrote:
cmsg_so_mark.sh sends to explicit destinations, so it does not test the
route cached by connect().
Add -k to cmsg_sender to connect first and send without msg_name.
Check connected IPv4 and IPv6 UDP, ping and raw sockets with equal,
prohibited and zero per-message marks.
Add an exact mark 0 prohibit rule before the connected cases. Connect
with an allowed socket mark, then require rejection of a mark 0 cmsg.
The same test fails four IPv6 cases before the kernel fix and passes
all 54 with it.
nit: empty line before Signed-off-by block
Signed-off-by: Xia Yan <redacted>
Reviewed-by: Willem de Bruijn <willemb@google.com>