This duplicates code in netmap_get_na() which looks up the memory
allocator specified by nr_mem_id, so let's deduplicate.
No functional change intended.
Differential D46665
netmap: Remove duplicate code markj on Sep 13 2024, 7:59 PM. Authored by Tags None Referenced Files
Subscribers
Details
This duplicates code in netmap_get_na() which looks up the memory No functional change intended.
Diff Detail
Event TimelineComment Actions I guess you mean that the same code is present inside netmap_get_na which is call right after. Comment Actions I see now, apologies for the bogus patch. I thought I had tested the req->nr_mem_id != 0 case but my test program was wrong. |