diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-11-20 20:52:16 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-11-20 20:52:16 -0800 |
commit | 1ef43204f4bd24dcd3156185b19b31b6b4151ae9 (patch) | |
tree | 812293eda94f9e14ee35c0be3d84da4b96f4972e /net/ipv6/raw.c | |
parent | 5d5780df23537ad0db72267fe11103d2c23d9b2a (diff) | |
parent | df9890c31a1a447254f39e40c3fd81ad6547945b (diff) | |
download | op-kernel-dev-1ef43204f4bd24dcd3156185b19b31b6b4151ae9.zip op-kernel-dev-1ef43204f4bd24dcd3156185b19b31b6b4151ae9.tar.gz |
Merge git://git.skbuff.net/gitroot/yoshfuji/linux-2.6.14+advapi-fix/
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 8e9628f..a66900c 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); |