diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-07-31 06:43:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-31 19:48:21 +0300 |
commit | 84c6b86875e01a08a0daa6fdd4a01b36bf0bf0b2 (patch) | |
tree | 06fb904b95b6f0427a577120753713aa39050660 /mm/ksm.c | |
parent | f734607e819b951bae3b436b026ec672082e9241 (diff) | |
download | linux-84c6b86875e01a08a0daa6fdd4a01b36bf0bf0b2.tar.xz |
xsk: don't allow umem replace at stack level
Currently drivers have to check if they already have a umem
installed for a given queue and return an error if so. Make
better use of XDP_QUERY_XSK_UMEM and move this functionality
to the core.
We need to keep rtnl across the calls now.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions