diff --git a/drivers/net/ethernet/nvidia/nvethernet/osd.c b/drivers/net/ethernet/nvidia/nvethernet/osd.c index 01365c34..68fa06ca 100644 --- a/drivers/net/ethernet/nvidia/nvethernet/osd.c +++ b/drivers/net/ethernet/nvidia/nvethernet/osd.c @@ -135,7 +135,7 @@ static inline int ether_alloc_skb(struct ether_priv_data *pdata, struct sk_buff *skb = NULL; dma_addr_t dma_addr; - if ((rx_swcx->flags & OSI_RX_SWCX_PTP) == OSI_RX_SWCX_PTP) { + if ((rx_swcx->flags & OSI_RX_SWCX_REUSE) == OSI_RX_SWCX_REUSE) { /* Skip buffer allocation and DMA mapping since * PTP software context will have valid buffer and * DMA addresses so use them as is.