net: skbuff: disambiguate argument and member for skb_list_walk_safe helper
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 13 Jan 2020 23:42:26 +0000 (18:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jan 2021 14:48:47 +0000 (15:48 +0100)
commitb26893e51f9ea2030179aa119f2c7c7c14e7cf31
tree320e41bca5d1fa116e992c1e772fcfc2c13bbd3f
parent566966019ec2f28b36da2db5ac0d7a53f5b2f4a0
net: skbuff: disambiguate argument and member for skb_list_walk_safe helper

commit 5eee7bd7e245914e4e050c413dfe864e31805207 upstream.

This worked before, because we made all callers name their next pointer
"next". But in trying to be more "drop-in" ready, the silliness here is
revealed. This commit fixes the problem by making the macro argument and
the member use different names.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/skbuff.h