diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 8e9628f1c4c5..a66900cda2af 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -748,7 +748,9 @@ static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk, | |||
748 | } | 748 | } |
749 | if (opt == NULL) | 749 | if (opt == NULL) |
750 | opt = np->opt; | 750 | opt = np->opt; |
751 | opt = fl6_merge_options(&opt_space, flowlabel, opt); | 751 | if (flowlabel) |
752 | opt = fl6_merge_options(&opt_space, flowlabel, opt); | ||
753 | opt = ipv6_fixup_options(&opt_space, opt); | ||
752 | 754 | ||
753 | fl.proto = proto; | 755 | fl.proto = proto; |
754 | rawv6_probe_proto_opt(&fl, msg); | 756 | rawv6_probe_proto_opt(&fl, msg); |