diff options
-rw-r--r-- | net/ipv4/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 68dbe2d93d9d..33316b3534ca 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
@@ -789,7 +789,7 @@ static int __ip_append_data(struct sock *sk, struct sk_buff_head *queue, | |||
789 | struct inet_sock *inet = inet_sk(sk); | 789 | struct inet_sock *inet = inet_sk(sk); |
790 | struct sk_buff *skb; | 790 | struct sk_buff *skb; |
791 | 791 | ||
792 | struct ip_options *opt = inet->cork.opt; | 792 | struct ip_options *opt = cork->opt; |
793 | int hh_len; | 793 | int hh_len; |
794 | int exthdrlen; | 794 | int exthdrlen; |
795 | int mtu; | 795 | int mtu; |
@@ -803,7 +803,7 @@ static int __ip_append_data(struct sock *sk, struct sk_buff_head *queue, | |||
803 | exthdrlen = transhdrlen ? rt->dst.header_len : 0; | 803 | exthdrlen = transhdrlen ? rt->dst.header_len : 0; |
804 | length += exthdrlen; | 804 | length += exthdrlen; |
805 | transhdrlen += exthdrlen; | 805 | transhdrlen += exthdrlen; |
806 | mtu = inet->cork.fragsize; | 806 | mtu = cork->fragsize; |
807 | 807 | ||
808 | hh_len = LL_RESERVED_SPACE(rt->dst.dev); | 808 | hh_len = LL_RESERVED_SPACE(rt->dst.dev); |
809 | 809 | ||