On Mon, 2009-11-30 at 12:25 +0800, Zhu Yi wrote: > + __skb_queue_tail(list, frame); > + } > + > + return 0; > + > + purge: > + __skb_queue_purge(list); > + out: > + dev_kfree_skb(skb); > + return -1; I'm not sure there's much use in the return value, since it otherwise leaves the list empty and you don't _really_ care all that much to iterate an empty list in that case, but it doesn't really matter. Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> johannes
Attachment:
signature.asc
Description: This is a digitally signed message part