diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2018-05-22 09:35:02 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-05-22 10:25:06 +0200 |
commit | a49049ea257656f27ffe424224f4a362b8b1234a (patch) | |
tree | 155eee39357db7499a3f8ccc17a039b78c45eb0e /net/dns_resolver/internal.h | |
parent | 37b076933a8e38e72ffd3c40d3eeb5949f38baf3 (diff) | |
download | talos-op-linux-a49049ea257656f27ffe424224f4a362b8b1234a.tar.gz talos-op-linux-a49049ea257656f27ffe424224f4a362b8b1234a.zip |
xsk: simplified umem setup
As suggested by Daniel Borkmann, the umem setup code was a too
defensive and complex. Here, we reduce the number of checks. Also, the
memory pinning is now folded into the umem creation, and we do correct
locking.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/dns_resolver/internal.h')
0 files changed, 0 insertions, 0 deletions