]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_dump.c
Revert "bgpd: flock() dump files (BZ#742)"
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 16 Jan 2013 00:28:36 +0000 (01:28 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 16 Jan 2013 00:45:57 +0000 (01:45 +0100)
commita6694fe8a89b957216f548938cc31602df04d495
treecfa46c9261215f8fa6bc991fbc335e99da196ea9
parentca3ccd8748434719e4670ce812d1310013fad518
Revert "bgpd: flock() dump files (BZ#742)"

This reverts commit b07458a055493dd37cb955ae90f11ae8bc334d3a.

On second thought, the right way to do this is with rename(), not by
introducing a lock that can potentially even stall bgpd.

Reported-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_dump.c