diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 3a86d6b887ac..51424df9078e 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -354,8 +354,8 @@ void tcp_v4_err(struct sk_buff *skb, u32 info) | |||
354 | struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); | 354 | struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); |
355 | struct tcp_sock *tp; | 355 | struct tcp_sock *tp; |
356 | struct inet_sock *inet; | 356 | struct inet_sock *inet; |
357 | int type = skb->h.icmph->type; | 357 | const int type = icmp_hdr(skb)->type; |
358 | int code = skb->h.icmph->code; | 358 | const int code = icmp_hdr(skb)->code; |
359 | struct sock *sk; | 359 | struct sock *sk; |
360 | __u32 seq; | 360 | __u32 seq; |
361 | int err; | 361 | int err; |