mirror_frr/zebra
高鹏 913ff66ba3 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>
2013-01-11 22:06:04 +01:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
client_main.c babeld: Initial import, for Babel routing protocol. 2012-03-25 17:06:51 +01:00
connected.c zebra: feed Connected routes into MRIB 2012-05-02 17:13:49 +02:00
connected.h [PtP over ethernet] New peer flag allows much more addressing flexibility 2006-12-12 19:18:21 +00:00
debug.c zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
debug.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c [zebra/solaris] fix if_get_index passing wrong arg to lifreq_set_name 2007-04-29 17:32:08 +00:00
if_ioctl.c [PtP over ethernet] New peer flag allows much more addressing flexibility 2006-12-12 19:18:21 +00:00
if_netlink.c zebra: add missing includes 2011-09-27 21:42:14 +04:00
if_proc.c [PtP over ethernet] New peer flag allows much more addressing flexibility 2006-12-12 19:18:21 +00:00
if_sysctl.c [zebra] fix inconsistencies in ifstat_update_* declarations and definitions 2006-08-06 15:57:59 +00:00
interface.c zebra: lingering IP address after deletion (BZ#486) 2012-07-13 18:54:09 +02:00
interface.h zebra: freshen RFC references in rtadv 2012-01-26 11:42:57 +04:00
ioctl_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
ioctl_solaris.c Fixed ioctl_solaris.c:if_get_mtu() for IPv6'less operation 2007-08-21 16:12:40 +00:00
ioctl.c zebra: fix argument reference in strncpy() call for BSD 2009-12-03 21:14:16 +03:00
ioctl.h [zebra/solaris] Interface state fixups for Solaris. 2006-01-25 04:31:40 +00:00
ipforward_aix.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_ews.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_proc.c zebra: fix warnings in forward proc 2011-12-07 01:24:09 +04:00
ipforward_solaris.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward_sysctl.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward.h 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
irdp_interface.c fix set never used warnings 2011-12-18 20:21:21 +04:00
irdp_main.c zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
irdp_packet.c zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
irdp.h zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
kernel_netlink.c Initial revision 2002-12-13 20:15:29 +00:00
kernel_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
kernel_socket.c build: check actually-used BSD link state fields 2012-11-05 11:22:24 -05:00
kernel_socket.h [lib] mes_lookup string lookup table argument should be marked const 2008-08-22 19:52:58 +01:00
main.c zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
Makefile.am build: fix dist tarball 2012-12-13 11:04:37 +01:00
misc_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
mtu_kvm.c 2004-05-09 Paul Jakma <paul@dishone.st> 2004-05-09 11:00:23 +00:00
redistribute_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
redistribute.c zebra: add structure to hold per-prefix state in RIB 2012-11-30 21:41:16 +01:00
redistribute.h [zebra] Bug #351: Don't redistribute routes to ipv4 link-local prefixes 2007-04-10 19:24:45 +00:00
rib.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
router-id.c zebra: change router-id selection algo 2009-12-21 18:50:43 +03:00
router-id.h 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-02-28 20:52:15 +00:00
rt_ioctl.c [autoconf] bugs 162,303,178: Fix 'present but can not be compiled' warnings 2007-05-10 02:38:51 +00:00
rt_netlink.c zebra: extern/extract some functions from rt_netlink.c 2012-11-30 21:41:17 +01:00
rt_netlink.h zebra: fix netlink NL_PKT_BUF_SIZE 2013-01-11 22:06:04 +01:00
rt_socket.c Switch from LOOKUP() to lookup() for rtm_type (see bug #401 for details). 2007-09-14 11:31:55 +00:00
rt.h [zebra/solaris] Interface state fixups for Solaris. 2006-01-25 04:31:40 +00:00
rtadv.c zebra: justify rtadv VTY commands with arguments 2012-01-26 11:43:00 +04:00
rtadv.h zebra: fix up compilation without rtadv/IPv6 2012-05-09 13:51:54 +02:00
rtread_getmsg.c zebra: IPv4 MP-BGP Routes addition and deletion 2012-01-23 14:30:42 +04:00
rtread_netlink.c zebra: add missing includes 2011-09-27 21:42:14 +04:00
rtread_proc.c zebra: IPv4 MP-BGP Routes addition and deletion 2012-01-23 14:30:42 +04:00
rtread_sysctl.c + fixed bug #400: adjusted rtread_sysctl.c:route_read() 2007-09-06 14:34:41 +00:00
test_main.c *: use array_size() helper macro 2012-10-25 10:15:59 -07:00
testrib.conf zebra: Add an example config file for testzebra 2009-08-28 14:51:37 +01:00
zebra_fpm_netlink.c zebra: include intf when sending IPv4 nexthop to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm_private.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm.c zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_rib.c zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_routemap.c zebra: trivial warning fix 2011-04-13 15:13:33 +01:00
zebra_snmp.c zebra: add structure to hold per-prefix state in RIB 2012-11-30 21:41:16 +01:00
zebra_vty.c zebra: add structure to hold per-prefix state in RIB 2012-11-30 21:41:16 +01:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv.c zebra: Add support for ZEBRA_NEXTHOP_IPV4_IFINDEX 2012-07-25 18:07:44 +02:00
zserv.h Revert "zebra: clean up client routes when client goes away" 2012-04-20 17:29:31 +02:00