diff options
author | Jorge Boncompte [DTI2] <jorge@dti2.net> | 2012-04-20 14:28:40 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-05-02 17:03:34 +0200 |
commit | a4c06dec1ebe41dd4444d387478500e6022e2209 (patch) | |
tree | 0270c50d6b4c1a7dec292599890e0aaaae3f99a1 /zebra/GNOME-SMI | |
parent | 682ca04c4032bfbf31e51df2472345fda1ff7b2c (diff) |
zebra: no need to clear memory of the netlink buffers
The memory is always written before sending. Clearing it before use
slows netlink_route_multipath() down considerably and it's pretty
noticeable in a full-internet table scenario loading.
* zebra/rt_netlink.c: subtract bulk buffer size from clear
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
[reworded commit message]
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'zebra/GNOME-SMI')
0 files changed, 0 insertions, 0 deletions