]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Tweak previous iface RR write patch to avoid free/malloc & redundant log
authorPaul Jakma <paul@opensourcerouting.org>
Thu, 9 Oct 2014 15:05:15 +0000 (16:05 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 30 May 2016 00:47:42 +0000 (20:47 -0400)
commit93559b99b0215e57476ca10d623cfbb4058a1db2
treea9c3ee6f0c7cdbf8f82912b86996f04dd1febcbe
parenta3da12a80c21edf9db000c6458c351148adae8ae
ospfd: Tweak previous iface RR write patch to avoid free/malloc & redundant log

* linklist.{c,h}: (listnode_move_to_tail) new unction to move a
  listnode to tail of list.
* ospf_packet.c: (ospf_write) remove debug that seemed to be mostly covered
  by existing debug.
  Use listnode_move_to_tail to just move the list node to the end of the
  tail, rather than freeing the one to hand and allocing a new one.
lib/linklist.c
lib/linklist.h