]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
skbuff: remove stale bit mask comments
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 15 Feb 2020 21:41:12 +0000 (13:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:49:51 +0000 (19:49 -0800)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c

index 864cb9e9622f539c14fdeeffd597a6b697e84d26..1365a556152c90fedecc6b6363f5dc3f9e8cec42 100644 (file)
@@ -467,7 +467,6 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len,
                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 napi_struct *napi, unsigned int len,
                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;