Use netdev_alloc_skb for rx buffer allocation. This sets skb->dev and can be overriden for NUMA machines. Compile tested only! Signed-off-by: Stephen Hemminger --- a/drivers/net/atlx/atl1.c 2008-04-16 14:42:38.000000000 -0700 +++ b/drivers/net/atlx/atl1.c 2008-04-16 14:44:18.000000000 -0700 @@ -1742,7 +1742,8 @@ static u16 atl1_alloc_rx_buffers(struct rfd_desc = ATL1_RFD_DESC(rfd_ring, rfd_next_to_use); - skb = dev_alloc_skb(adapter->rx_buffer_len + NET_IP_ALIGN); + skb = netdev_alloc_skb(adapter->netdev, + adapter->rx_buffer_len + NET_IP_ALIGN); if (unlikely(!skb)) { /* Better luck next round */ adapter->net_stats.rx_dropped++; -- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html