Commit 8ea853fd0b721f14eacff1a5b364fe3e60d2dd82

Authored by Li RongQing
Committed by David S. Miller
1 parent ed3770a9cd

net/core: fix comment in skb_try_coalesce

It should be the skb which is not cloned

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -3502,7 +3502,9 @@
3502 3502 if (!skb_cloned(from))
3503 3503 skb_shinfo(from)->nr_frags = 0;
3504 3504  
3505   - /* if the skb is cloned this does nothing since we set nr_frags to 0 */
  3505 + /* if the skb is not cloned this does nothing
  3506 + * since we set nr_frags to 0.
  3507 + */
3506 3508 for (i = 0; i < skb_shinfo(from)->nr_frags; i++)
3507 3509 skb_frag_ref(from, i);
3508 3510