]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - net/ipv4/udp.c
net: Use sk_mark for routing lookup in more places
[linux-2.6.git] / net / ipv4 / udp.c
index 3326aff65906e9c943fd5d035845a664af6dae48..6ec6a8a4a224236acae5393d997727c7804c07cb 100644 (file)
@@ -696,6 +696,7 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
 
        if (rt == NULL) {
                struct flowi fl = { .oif = ipc.oif,
+                                   .mark = sk->sk_mark,
                                    .nl_u = { .ip4_u =
                                              { .daddr = faddr,
                                                .saddr = saddr,