diff options
author | 2023-08-16 08:15:34 +0000 | |
---|---|---|
committer | 2023-08-16 11:09:17 +0100 | |
commit | b4d84bce4c437c4ac1b6f7ef4d612d7d52f62cfe (patch) | |
tree | b29d6153bd51752d08e5a669832e37286cff8fbd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | inet: introduce inet->inet_flags (diff) | |
download | wireguard-linux-b4d84bce4c437c4ac1b6f7ef4d612d7d52f62cfe.tar.xz wireguard-linux-b4d84bce4c437c4ac1b6f7ef4d612d7d52f62cfe.zip |
inet: set/get simple options locklessly
Now we have inet->inet_flags, we can set following options
without having to hold the socket lock:
IP_PKTINFO, IP_RECVTTL, IP_RECVTOS, IP_RECVOPTS, IP_RETOPTS,
IP_PASSSEC, IP_RECVORIGDSTADDR, IP_RECVFRAGSIZE.
ip_sock_set_pktinfo() no longer hold the socket lock.
Similarly we can get the following options whithout holding
the socket lock:
IP_PKTINFO, IP_RECVTTL, IP_RECVTOS, IP_RECVOPTS, IP_RETOPTS,
IP_PASSSEC, IP_RECVORIGDSTADDR, IP_CHECKSUM, IP_RECVFRAGSIZE.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions