diff options
| author | Hiroki Sato <hrs@FreeBSD.org> | 2011-07-03 11:27:55 +0000 |
|---|---|---|
| committer | Hiroki Sato <hrs@FreeBSD.org> | 2011-07-03 11:27:55 +0000 |
| commit | 276b84930433378d51844bddc197bd3ac701c9b8 (patch) | |
| tree | f6ea99f60b2f35b0693c5c0fb190802c9c22574c /net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c | |
| parent | Make print/texinfo another prerequisite. Sometimes, texi2dvi appears (diff) | |
Fix a bug that can lead to 100% CPU-time consuming.
Notes
Notes:
svn path=/head/; revision=276969
Diffstat (limited to 'net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c')
| -rw-r--r-- | net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c b/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c index 6e2a53f6d341..522fc998fdcb 100644 --- a/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c +++ b/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c @@ -3,7 +3,7 @@ Index: openbsd-compat/pfkey_compat.c RCS file: openbsd-compat/pfkey_compat.c diff -N openbsd-compat/pfkey_compat.c --- /dev/null 1 Jan 1970 00:00:00 -0000 -+++ openbsd-compat/pfkey_compat.c 2 Jul 2011 16:06:38 -0000 1.2 ++++ openbsd-compat/pfkey_compat.c 3 Jul 2011 11:18:30 -0000 1.3 @@ -0,0 +1,32 @@ +#include "bgpd.h" +#include "session.h" @@ -29,7 +29,7 @@ diff -N openbsd-compat/pfkey_compat.c +{ + log_warnx("no kernel support for PF_KEY"); + sysdep->no_pfkey = 1; -+ return (0); ++ return (-1); +} + +int |
