Thread (11 messages) 11 messages, 4 authors, 2011-08-25

Re: [PATCH 1/4] net: convert core to skb paged frag APIs

flat view

From: Michał Mirosław <hidden>
Date: 2011-08-23 18:35:14

2011/8/23 Ian Campbell [off-list ref]:
+               for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
+                       skb_frag_t *frag = &skb_shinfo(skb)->frags[i];
This is a rather common construct, so it might be worth it to
introduce something like for_each_skb_frag().

Best Regards,
Michał Mirosław
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help