diff options
author | Christian Wiese <chris@opensde.org> | 2014-04-12 00:56:37 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2014-04-12 11:27:20 +0200 |
commit | a4772aa046708acfafdf2957ed756d076821bba5 (patch) | |
tree | f0575a694f064b775a04226663edf3ab237b721d /netsniff-ng.c | |
parent | b8bb2e21ec3a685dde73565e822b5ff915cc316d (diff) |
built_in: changed to use RUNTIME_PAGE_SIZE instead of PAGE_SIZE
References:
https://github.com/netsniff-ng/netsniff-ng/commit/453f6eb9d79dd5aa2812ef956b22723f0a493086
https://github.com/netsniff-ng/netsniff-ng/pull/112
Signed-off-by: Christian Wiese <chris@opensde.org>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r-- | netsniff-ng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c index 6a83702..1e9d6f9 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -580,7 +580,7 @@ static void read_pcap(struct ctx *ctx) dissector_init_all(ctx->print_mode); - out_len = round_up(1024 * 1024, PAGE_SIZE); + out_len = round_up(1024 * 1024, RUNTIME_PAGE_SIZE); out = xmalloc_aligned(out_len, CO_CACHE_LINE_SIZE); if (ctx->device_out) { |