]> git.baikalelectronics.ru Git - kernel.git/commit
lan78xx: Do not access skb_queue_head list pointers directly.
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 06:12:17 +0000 (23:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2018 17:06:53 +0000 (10:06 -0700)
commit60339c9747fc8506de26a1d2f86d78981b838f8f
tree19e096804a618082ac35346e3b6e8918b14c84a4
parentbdc7dfd0c2ce4f0bb26e454d9754e36f11d6dae7
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.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c