summaryrefslogtreecommitdiff
path: root/zebra/rtread_getmsg.c
diff options
context:
space:
mode:
author高鹏 <gpstrive@gmail.com>2012-11-21 18:15:43 +0800
committerDavid Lamparter <equinox@opensourcerouting.org>2013-01-11 22:06:04 +0100
commit913ff66ba30093d2fdc26af215f4bc0b3d359d75 (patch)
treec05c1df603a7ef8d73460777cd6017f720b29b3a /zebra/rtread_getmsg.c
parent61be0ee8824b30e94ddd2bfe8b51fcfd330c41dd (diff)
zebra: fix netlink NL_PKT_BUF_SIZE
Change default value of variable NL_PKT_BUF_SIZE to 8192UL. Cf. NLMSG_GOODSIZE definition of linux in include/linux/netlink.h for detail. Previously, on platforms with a page size greater than 8192, if you had added too many interfaces, zebra would not have enough buffer space to get the entire interface list. This resulted in an incomplete interface list. From: 高鹏 <gpstrive@gmail.com> [updated to apply after FPM patches] Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/rtread_getmsg.c')
0 files changed, 0 insertions, 0 deletions