]> Git Repo - linux.git/commit
xdp: hold device for umem regardless of zero-copy mode
authorIlya Maximets <[email protected]>
Fri, 28 Jun 2019 08:04:06 +0000 (11:04 +0300)
committerDaniel Borkmann <[email protected]>
Wed, 3 Jul 2019 13:10:55 +0000 (15:10 +0200)
commit162c820ed8965bf94d2685f97388aea5aee9e258
treed2dede2752497f4e5f0780dcb5a69a1e51825553
parent11aca65ec4db09527d3e9b6b41a0615b7da4386b
xdp: hold device for umem regardless of zero-copy mode

Device pointer stored in umem regardless of zero-copy mode,
so we heed to hold the device in all cases.

Fixes: c9b47cc1fabc ("xsk: fix bug when trying to use both copy and zero-copy on one queue id")
Signed-off-by: Ilya Maximets <[email protected]>
Acked-by: Jonathan Lemon <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
net/xdp/xdp_umem.c
This page took 0.047055 seconds and 4 git commands to generate.