aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r--net/ipv6/raw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c
index a1265a320b11..d77d3352c967 100644
--- a/net/ipv6/raw.c
+++ b/net/ipv6/raw.c
@@ -756,7 +756,9 @@ static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
756 } 756 }
757 if (opt == NULL) 757 if (opt == NULL)
758 opt = np->opt; 758 opt = np->opt;
759 opt = fl6_merge_options(&opt_space, flowlabel, opt); 759 if (flowlabel)
760 opt = fl6_merge_options(&opt_space, flowlabel, opt);
761 opt = ipv6_fixup_options(&opt_space, opt);
760 762
761 fl.proto = proto; 763 fl.proto = proto;
762 rawv6_probe_proto_opt(&fl, msg); 764 rawv6_probe_proto_opt(&fl, msg);