From owner-svn-src-head@FreeBSD.ORG Thu Jun 11 13:05:39 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05B7924E; Thu, 11 Jun 2015 13:05:39 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7B901652; Thu, 11 Jun 2015 13:05:38 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5BD5cgv052941; Thu, 11 Jun 2015 13:05:38 GMT (envelope-from jmg@FreeBSD.org) Received: (from jmg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5BD5cqY052936; Thu, 11 Jun 2015 13:05:38 GMT (envelope-from jmg@FreeBSD.org) Message-Id: <201506111305.t5BD5cqY052936@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jmg set sender to jmg@FreeBSD.org using -f From: John-Mark Gurney Date: Thu, 11 Jun 2015 13:05:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284259 - head/sys/netipsec X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 13:05:39 -0000 Author: jmg Date: Thu Jun 11 13:05:37 2015 New Revision: 284259 URL: https://svnweb.freebsd.org/changeset/base/284259 Log: drop key_sa_stir_iv as it isn't used... Reviewed by: eri, ae Modified: head/sys/netipsec/key.c head/sys/netipsec/key.h Modified: head/sys/netipsec/key.c ============================================================================== --- head/sys/netipsec/key.c Thu Jun 11 13:00:20 2015 (r284258) +++ head/sys/netipsec/key.c Thu Jun 11 13:05:37 2015 (r284259) @@ -7714,14 +7714,6 @@ key_sa_chgstate(struct secasvar *sav, u_ } } -void -key_sa_stir_iv(struct secasvar *sav) -{ - - IPSEC_ASSERT(sav->iv != NULL, ("null IV")); - key_randomfill(sav->iv, sav->ivlen); -} - /* * Take one of the kernel's security keys and convert it into a PF_KEY * structure within an mbuf, suitable for sending up to a waiting Modified: head/sys/netipsec/key.h ============================================================================== --- head/sys/netipsec/key.h Thu Jun 11 13:00:20 2015 (r284258) +++ head/sys/netipsec/key.h Thu Jun 11 13:05:37 2015 (r284259) @@ -105,7 +105,6 @@ extern void key_init(void); extern void key_destroy(void); #endif extern void key_sa_recordxfer(struct secasvar *, struct mbuf *); -extern void key_sa_stir_iv(struct secasvar *); #ifdef IPSEC_NAT_T u_int16_t key_portfromsaddr(struct sockaddr *); #define KEY_PORTFROMSADDR(saddr) \