mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
3f12817fe3
Corked sockets take a different path to construct a udp datagram than the lockless fast path. Test this alternate path. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
29 lines
545 B
Bash
Executable file
29 lines
545 B
Bash
Executable file
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Run a series of udpgso regression tests
|
|
|
|
echo "ipv4 cmsg"
|
|
./in_netns.sh ./udpgso -4 -C
|
|
|
|
echo "ipv4 setsockopt"
|
|
./in_netns.sh ./udpgso -4 -C -s
|
|
|
|
echo "ipv6 cmsg"
|
|
./in_netns.sh ./udpgso -6 -C
|
|
|
|
echo "ipv6 setsockopt"
|
|
./in_netns.sh ./udpgso -6 -C -s
|
|
|
|
echo "ipv4 connected"
|
|
./in_netns.sh ./udpgso -4 -c
|
|
|
|
# blocked on 2nd loopback address
|
|
# echo "ipv6 connected"
|
|
# ./in_netns.sh ./udpgso -6 -c
|
|
|
|
echo "ipv4 msg_more"
|
|
./in_netns.sh ./udpgso -4 -C -m
|
|
|
|
echo "ipv6 msg_more"
|
|
./in_netns.sh ./udpgso -6 -C -m
|