diff options
author | 2013-11-15 21:34:51 +0000 | |
---|---|---|
committer | 2013-11-15 21:34:51 +0000 | |
commit | 13c9281b025ecaefc2ffa4d593194409a8cda56c (patch) | |
tree | f2391fce54f852ed33f3e2aaa7b8049f6deca08e /sys | |
parent | Added dev/usb/if_ugl.c, a driver for Genesys Logic GL620USB-A (diff) | |
download | wireguard-openbsd-13c9281b025ecaefc2ffa4d593194409a8cda56c.tar.xz wireguard-openbsd-13c9281b025ecaefc2ffa4d593194409a8cda56c.zip |
Revert 1.858, as it causes panics of inp:
kernel diagnostic assertion \"sotoinpcb(inp->inp_socket) == inp\"
failed: file "../../../../netinet/tcp_input.c", line 646
Will think of a better fix.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 63683e92cda..7967a6124b2 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.859 2013/11/15 16:15:41 bluhm Exp $ */ +/* $OpenBSD: pf.c,v 1.860 2013/11/15 21:34:51 haesbaert Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -6806,8 +6806,4 @@ void pf_pkt_addr_changed(struct mbuf *m) { m->m_pkthdr.pf.statekey = NULL; - if (m->m_pkthdr.pf.inp) { - m->m_pkthdr.pf.inp->inp_pf_sk = NULL; - m->m_pkthdr.pf.inp = NULL; - } } |