Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 203f1c95 authored by David S. Miller's avatar David S. Miller Committed by Liangliang Lu
Browse files

lan78xx: Do not access skb_queue_head list pointers directly.



Use skb_queue_walk() instead.

Adjust inner loop test to utilize and skb_queue_is_first().
Unfortunately we have to keep pkt_cnt around because it is
used by a latter loop in this function.

Change-Id: I63159763bfaea0d29c3f4a0a26c47ab3f5f1dc33
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Git-commit: e42a43a5cab2e019b5ab82bedb1340854709154d
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git


Signed-off-by: default avatarLiangliang Lu <luliang@codeaurora.org>
parent 7e529d1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment