]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/udp.c
[IPV6]: Support several new sockopt / ancillary data in Advanced API (RFC3542).
[linux-2.6-omap-h63xx.git] / net / ipv6 / udp.c
index 390d750449ce6f801dd3ed906dd68fa7bcc20126..aa6eaf3f18a6e7abd27e1afc20a0043b78644ed8 100644 (file)
@@ -773,8 +773,7 @@ do_udp_sendmsg:
        }
        if (opt == NULL)
                opt = np->opt;
-       if (flowlabel)
-               opt = fl6_merge_options(&opt_space, flowlabel, opt);
+       opt = fl6_merge_options(&opt_space, flowlabel, opt);
 
        fl->proto = IPPROTO_UDP;
        ipv6_addr_copy(&fl->fl6_dst, daddr);