diff options
author | Alan Brady <alan.brady@intel.com> | 2022-07-20 20:13:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 13:40:27 +0200 |
commit | 16576a034c4ba2e3179f48554d4f1bd5c05382cd (patch) | |
tree | 78fa9f33ca3e9b61d645484d5f54dd9d927d1478 /drivers/ata/sata_svw.c | |
parent | net: marvell: prestera: use netif_is_any_bridge_port instead of open code (diff) | |
download | linux-16576a034c4ba2e3179f48554d4f1bd5c05382cd.tar.xz linux-16576a034c4ba2e3179f48554d4f1bd5c05382cd.zip |
ping: support ipv6 ping socket flow labels
Ping sockets don't appear to make any attempt to preserve flow labels
created and set by userspace using IPV6_FLOWINFO_SEND. Instead they are
clobbered by autolabels (if enabled) or zero.
Grab the flowlabel out of the msghdr similar to how rawv6_sendmsg does
it and move the memset up so it doesn't get zeroed after.
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata/sata_svw.c')
0 files changed, 0 insertions, 0 deletions