diff options
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index d54da616e3af..4686646058d3 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -1126,7 +1126,7 @@ int ip6_append_data(struct sock *sk, int getfrag(void *from, char *to, | |||
1126 | sk->sk_sndmsg_page = NULL; | 1126 | sk->sk_sndmsg_page = NULL; |
1127 | sk->sk_sndmsg_off = 0; | 1127 | sk->sk_sndmsg_off = 0; |
1128 | exthdrlen = rt->u.dst.header_len + (opt ? opt->opt_flen : 0) - | 1128 | exthdrlen = rt->u.dst.header_len + (opt ? opt->opt_flen : 0) - |
1129 | rt->nfheader_len; | 1129 | rt->rt6i_nfheader_len; |
1130 | length += exthdrlen; | 1130 | length += exthdrlen; |
1131 | transhdrlen += exthdrlen; | 1131 | transhdrlen += exthdrlen; |
1132 | } else { | 1132 | } else { |
@@ -1141,7 +1141,7 @@ int ip6_append_data(struct sock *sk, int getfrag(void *from, char *to, | |||
1141 | 1141 | ||
1142 | hh_len = LL_RESERVED_SPACE(rt->u.dst.dev); | 1142 | hh_len = LL_RESERVED_SPACE(rt->u.dst.dev); |
1143 | 1143 | ||
1144 | fragheaderlen = sizeof(struct ipv6hdr) + rt->nfheader_len + | 1144 | fragheaderlen = sizeof(struct ipv6hdr) + rt->rt6i_nfheader_len + |
1145 | (opt ? opt->opt_nflen : 0); | 1145 | (opt ? opt->opt_nflen : 0); |
1146 | maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen - sizeof(struct frag_hdr); | 1146 | maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen - sizeof(struct frag_hdr); |
1147 | 1147 | ||