aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2017-08-16 22:14:33 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-16 14:27:35 -0700
commit0bbd7dad34f81e5e724cb08252160a1796c388b2 (patch)
treefea2d275e5a381ec4d90bbcf13f5a3840127e344 /tools/perf/scripts/python/export-to-postgresql.py
parentnet/mlx4: fix spelling mistake: "availible" -> "available" (diff)
downloadwireguard-linux-0bbd7dad34f81e5e724cb08252160a1796c388b2.tar.xz
wireguard-linux-0bbd7dad34f81e5e724cb08252160a1796c388b2.zip
tun: make tun_build_skb() thread safe
tun_build_skb() is not thread safe since it uses per queue page frag, this will break things when multiple threads are sending through same queue. Switch to use per-thread generator (no lock involved). Fixes: 66ccbc9c87c2 ("tap: use build_skb() for small packet") Tested-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> 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