diff options
| author | David S. Miller <davem@sunset.davemloft.net> | 2005-09-10 14:01:33 -0400 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2005-09-10 14:01:33 -0400 |
| commit | 2a0445158192246c421467320af0d2f45a98f02c (patch) | |
| tree | ec3d085527cde397de554ea5d5e4d81dadc6b85e /net/ipv6/exthdrs.c | |
| parent | 2625c1be3425f5a9d8ef1434449b7d954aaf199d (diff) | |
| parent | e6df439b89dbf9eb977c2dc6f7b0644be3704df4 (diff) | |
Merge davem@outer-richmond.davemloft.net:src/GIT/net-2.6/
Diffstat (limited to 'net/ipv6/exthdrs.c')
| -rw-r--r-- | net/ipv6/exthdrs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index 47122728212a..922549581abc 100644 --- a/net/ipv6/exthdrs.c +++ b/net/ipv6/exthdrs.c | |||
| @@ -406,8 +406,7 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr) | |||
| 406 | 406 | ||
| 407 | memcpy(opt->srcrt, hdr, sizeof(*hdr)); | 407 | memcpy(opt->srcrt, hdr, sizeof(*hdr)); |
| 408 | irthdr = (struct rt0_hdr*)opt->srcrt; | 408 | irthdr = (struct rt0_hdr*)opt->srcrt; |
| 409 | /* Obsolete field, MBZ, when originated by us */ | 409 | irthdr->reserved = 0; |
| 410 | irthdr->bitmap = 0; | ||
| 411 | opt->srcrt->segments_left = n; | 410 | opt->srcrt->segments_left = n; |
| 412 | for (i=0; i<n; i++) | 411 | for (i=0; i<n; i++) |
| 413 | memcpy(irthdr->addr+i, rthdr->addr+(n-1-i), 16); | 412 | memcpy(irthdr->addr+i, rthdr->addr+(n-1-i), 16); |
