ndp: harden netlink event socket error handling
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 9 Feb 2017 15:52:50 +0000 (16:52 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 9 Feb 2017 17:06:27 +0000 (18:06 +0100)
commit8df4253ba73246d31f2e65f2004da3f9890c22c5
tree66135ca48448d615869071fa4b210a1bee8524ea
parentb02f3e6ddfca200643b37bfaae233dc20f1348a4
ndp: harden netlink event socket error handling

Start with a netlink receive buffersize of 130k for the netlink event socket;
double the netlink receive buffer size in case an ENOBUFS is reported.
Also align function naming and its parameters.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/ndp.c
src/odhcpd.c
src/odhcpd.h