Commit 332f5903 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Yang Yingliang
Browse files

net: skbuff: disambiguate argument and member for skb_list_walk_safe helper



stable inclusion
from linux-4.19.170
commit bae6277ad341d4fbfa564409c310bd151f235250

--------------------------------

commit 5eee7bd7 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: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent 643c46ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment