Message ID | 677a95d0-0db9-edec-0fa5-d7d3e1b5ec11@infradead.org |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | [-net] skbuff: remove stale bit mask comments | expand |
From: Randy Dunlap <rdunlap@infradead.org> Date: Sat, 15 Feb 2020 13:41:12 -0800 > From: Randy Dunlap <rdunlap@infradead.org> > > Remove stale comments since this flag is no longer a bit mask > but is a bit field. > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Applied.
--- lnx-56-rc1.orig/net/core/skbuff.c +++ lnx-56-rc1/net/core/skbuff.c @@ -467,7 +467,6 @@ struct sk_buff *__netdev_alloc_skb(struc return NULL; } - /* use OR instead of assignment to avoid clearing of bits in mask */ if (pfmemalloc) skb->pfmemalloc = 1; skb->head_frag = 1; @@ -527,7 +526,6 @@ struct sk_buff *__napi_alloc_skb(struct return NULL; } - /* use OR instead of assignment to avoid clearing of bits in mask */ if (nc->page.pfmemalloc) skb->pfmemalloc = 1; skb->head_frag = 1;