[PATCH] RXRPC: Use skb_queue_walk_safe()

David Howells dhowells at redhat.com
Thu May 22 10:10:56 EDT 2008


Wang Chen <wangchen at cn.fujitsu.com> wrote:

> Because the list could be modified inside the loop, use
> skb_queue_walk_safe().

This is unnecessary.  If skb_insert() is called in the loop, the very next
line is a goto that exits the loop immediately.

David



More information about the linux-afs mailing list