Commit 8955b435 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

skbuff: remove stale bit mask comments

Remove stale comments since this flag is no longer a bit mask
but is a bit field.
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 66256e0b
...@@ -467,7 +467,6 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, ...@@ -467,7 +467,6 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len,
return NULL; return NULL;
} }
/* use OR instead of assignment to avoid clearing of bits in mask */
if (pfmemalloc) if (pfmemalloc)
skb->pfmemalloc = 1; skb->pfmemalloc = 1;
skb->head_frag = 1; skb->head_frag = 1;
...@@ -527,7 +526,6 @@ struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, unsigned int len, ...@@ -527,7 +526,6 @@ struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, unsigned int len,
return NULL; return NULL;
} }
/* use OR instead of assignment to avoid clearing of bits in mask */
if (nc->page.pfmemalloc) if (nc->page.pfmemalloc)
skb->pfmemalloc = 1; skb->pfmemalloc = 1;
skb->head_frag = 1; skb->head_frag = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment