ipsec gre: Do not reread ovs monitor ipsec pidfile in netdev vport so much
authorArun Sharma <arun.sharma@calsoftinc.com>
Tue, 3 Jul 2012 01:30:21 +0000 (18:30 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 3 Jul 2012 16:05:37 +0000 (09:05 -0700)
commit2a586a5c1349177dcb9306e4b91ca4063ec79722
treed128e6e4d9d4599a557bd951eef629b49f5135c1
parent5796d9cf8572c2ab977446d45b5847a47a439a62
ipsec gre: Do not reread ovs monitor ipsec pidfile in netdev vport so much

Instead of rereading ovs-monitor-ipsec pidfile in netdev-vport so much.  It's
probably only necessary to check once if ovs-monitor-ipsec is running,
and then cache the result.  If the result is negative, then it may be
worthwhile to try again the next time someone tries to configure an ipsec
tunnel.

Signed-off-by: Arun Sharma <arun.sharma@calsoftinc.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-vport.c