]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 19 Feb 2021 15:45:17 +0000 (16:45 +0100)
commit5104aa7e6c934b2b28610b4a9a50fdf52bc535c3
tree0f6d818abd12ed7835b0d925a8b7a3cc511f0bb9
parent0c993ed594f7fcc3d91297cd293d6a8c82eb32fc
net: skbuff: disambiguate argument and member for skb_list_walk_safe helper

BugLink: https://bugs.launchpad.net/bugs/1915186
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
include/linux/skbuff.h