diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2015-09-15 17:07:01 -0500 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2015-10-20 12:07:38 -0500 |
commit | cabafa063a2a57d699a2cb0c8c8c772dce9c2571 (patch) | |
tree | 37f7da73c9da556662e3e6ec8dbdb2adb70a049e /sys | |
parent | 0459c01460b86143a703ac515909b4d0d49db8f5 (diff) | |
download | FreeBSD-src-cabafa063a2a57d699a2cb0c8c8c772dce9c2571.zip FreeBSD-src-cabafa063a2a57d699a2cb0c8c8c772dce9c2571.tar.gz |
Fix the IPSEC build.
TAG: IPSEC-HEAD
Issue: #4841
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netipsec/ipsec_output.c | 2 | ||||
-rw-r--r-- | sys/opencrypto/cryptodev.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c index 3ddcb47..64709dc 100644 --- a/sys/netipsec/ipsec_output.c +++ b/sys/netipsec/ipsec_output.c @@ -496,7 +496,7 @@ ipsec_encap(struct mbuf **mp, struct secasindex *saidx) ip->ip_src = saidx->src.sin.sin_addr; ip->ip_dst = saidx->dst.sin.sin_addr; ip_ecn_ingress(V_ip4_ipsec_ecn, &ip->ip_tos, &itos); - ip_fillid(ip); + ip->ip_id = ip_newid(); break; #endif /* INET */ #ifdef INET6 diff --git a/sys/opencrypto/cryptodev.c b/sys/opencrypto/cryptodev.c index b11f8e8..f5e80a0 100644 --- a/sys/opencrypto/cryptodev.c +++ b/sys/opencrypto/cryptodev.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include "opt_compat.h" -#include "opt_kdtrace.h" #include <sys/param.h> #include <sys/systm.h> |