diff options
author | 2016-03-22 11:53:21 +0000 | |
---|---|---|
committer | 2016-03-22 11:53:21 +0000 | |
commit | 02e304f37e5bf666c1ce0eab719f32115a0f7309 (patch) | |
tree | 8962bb1ca7a992c9daa85b19c9481614a0ae92b3 | |
parent | replace ieee80211_align_mbuf with m_dup_pkt (diff) | |
download | wireguard-openbsd-02e304f37e5bf666c1ce0eab719f32115a0f7309.tar.xz wireguard-openbsd-02e304f37e5bf666c1ce0eab719f32115a0f7309.zip |
slight knf
-rw-r--r-- | sys/net/pfkey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pfkey.c b/sys/net/pfkey.c index 3e9b1dd9f8f..66c08935876 100644 --- a/sys/net/pfkey.c +++ b/sys/net/pfkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkey.c,v 1.28 2015/10/07 10:50:35 mpi Exp $ */ +/* $OpenBSD: pfkey.c,v 1.29 2016/03/22 11:53:21 dlg Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) 17 January 1995 @@ -145,7 +145,7 @@ pfkey_sendup(struct socket *socket, struct mbuf *packet, int more) if (!(packet2 = m_copym2(packet, 0, M_COPYALL, M_DONTWAIT))) return (ENOMEM); } else - packet2 = packet; + packet2 = packet; s = splsoftnet(); if (!sbappendaddr(&socket->so_rcv, &pfkey_addr, packet2, NULL)) { @@ -190,7 +190,7 @@ pfkey_output(struct mbuf *mbuf, struct socket *socket) ret: if (mbuf) - m_freem (mbuf); + m_freem(mbuf); return (error); } |