Skip to content

Commit 2391749

Browse files
edumazetdavem330
authored andcommitted
tcp: tcp_v4_err() icmp skb is named icmp_skb
I missed the fact that tcp_v4_err() differs from tcp_v6_err(). After commit 4d1a2d9 ("Rename skb to icmp_skb in tcp_v4_err()") the skb argument has been renamed to icmp_skb only in one function. I will in a future patch reconciliate these functions to avoid this kind of confusion. Fixes: 45af29c ("tcp: allow traceroute -Mtcp for unpriv users") Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d52caf0 commit 2391749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv4/tcp_ipv4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ int tcp_v4_err(struct sk_buff *icmp_skb, u32 info)
573573
if (fastopen && !fastopen->sk)
574574
break;
575575

576-
ip_icmp_error(sk, skb, err, th->dest, info, (u8 *)th);
576+
ip_icmp_error(sk, icmp_skb, err, th->dest, info, (u8 *)th);
577577

578578
if (!sock_owned_by_user(sk)) {
579579
sk->sk_err = err;

0 commit comments

Comments
 (0)