summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-06-09 12:00:34 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-06-09 12:06:18 +0530
commitb46497fe9c2ec0fe7ed1784ee9a94b386ce6c403 (patch)
tree27e5b59ce1cc09b41fcd1e445718da922cf26fd8
parentfc2c7242965ca5f8be8b59d22b0613ffabeaa6dc (diff)
downloadphosphor-networkd-b46497fe9c2ec0fe7ed1784ee9a94b386ce6c403.tar.gz
phosphor-networkd-b46497fe9c2ec0fe7ed1784ee9a94b386ce6c403.zip
Revert the BUFFSIZE from PAGE_SIZE to constant
Change-Id: Id9300b55b1c32fff2d1f9fffdcfa6c3d6e021d38 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
-rw-r--r--routing_table.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/routing_table.hpp b/routing_table.hpp
index e137e23..c96013e 100644
--- a/routing_table.hpp
+++ b/routing_table.hpp
@@ -1,7 +1,6 @@
#pragma once
#include <asm/types.h>
-#include <sys/user.h>
#include <sys/socket.h>
#include <linux/netlink.h>
@@ -16,7 +15,7 @@ namespace network
{
namespace route
{
-constexpr auto BUFSIZE = PAGE_SIZE;
+constexpr auto BUFSIZE = 4096;
struct Entry
{
OpenPOWER on IntegriCloud