]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/ipv6/ping.c
netfilter: x_tables: pass xt_counters struct instead of packet counter
[mirror_ubuntu-bionic-kernel.git] / net / ipv6 / ping.c
index 66e2d9dfc43a87ebed092d024e5bf2752b755d0e..e1f8b34d7a2ef8fb232826747d2ffe6652c1cb06 100644 (file)
@@ -113,6 +113,7 @@ static int ping_v6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
        fl6.daddr = *daddr;
        fl6.flowi6_oif = oif;
        fl6.flowi6_mark = sk->sk_mark;
+       fl6.flowi6_uid = sk->sk_uid;
        fl6.fl6_icmp_type = user_icmph.icmp6_type;
        fl6.fl6_icmp_code = user_icmph.icmp6_code;
        security_sk_classify_flow(sk, flowi6_to_flowi(&fl6));