diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-21 10:46:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-21 10:46:34 -0800 |
commit | 1a324727caa26cd65a359a958c90fbd251d4aa49 (patch) | |
tree | 543a4f413c1c99f4b5be0b3c5f3744c9e4581db9 /net/ipv6/raw.c | |
parent | db93a82fa9d8b4d6e31c227922eaae829253bb88 (diff) | |
parent | 461ddf3b90bb149b99c3f675959c1bd6b11ed936 (diff) | |
download | talos-obmc-linux-1a324727caa26cd65a359a958c90fbd251d4aa49.tar.gz talos-obmc-linux-1a324727caa26cd65a359a958c90fbd251d4aa49.zip |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
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, } if (opt == NULL) opt = np->opt; - opt = fl6_merge_options(&opt_space, flowlabel, opt); + if (flowlabel) + opt = fl6_merge_options(&opt_space, flowlabel, opt); + opt = ipv6_fixup_options(&opt_space, opt); fl.proto = proto; rawv6_probe_proto_opt(&fl, msg); |