]> git.proxmox.com Git - mirror_frr.git/commit
[ospfd] Fix a few LSA performance "bugs"
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 4 Nov 2008 13:37:29 +0000 (13:37 +0000)
committerPaul Jakma <paul@quagga.net>
Thu, 25 Jun 2009 11:23:27 +0000 (12:23 +0100)
commitf65431380428c3cb8eb5c0a0ac93debc30717a3f
tree343c4b39fa516c0fc3a0640c9a8f9536c5b21d5f
parentdc26699a80eb7b40fb1c9026496cde2b80bf1335
[ospfd] Fix a few LSA performance "bugs"

ospf_lsa_install() will calculate LSA checksum so no
need to do it before calling ospf_lsa_install().

Set the OSPF_LSA_SELF_CHECKED flag on own LSA's to
save ospf_lsa_is_self_originated() some work.

Do not memset() memory that is about to overwritten
with memcpy().
ospfd/ospf_lsa.c