artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
539ef4c
)
Exports the statistics when PIPEXDSESSION. Found by ymatsui at iij.
author
yasuoka
<yasuoka@openbsd.org>
Tue, 30 Jul 2024 13:41:15 +0000
(13:41 +0000)
committer
yasuoka
<yasuoka@openbsd.org>
Tue, 30 Jul 2024 13:41:15 +0000
(13:41 +0000)
ok mvs
sys/net/if_pppx.c
patch
|
blob
|
history
diff --git
a/sys/net/if_pppx.c
b/sys/net/if_pppx.c
index
35dbec5
..
5246bd7
100644
(file)
--- a/
sys/net/if_pppx.c
+++ b/
sys/net/if_pppx.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_pppx.c,v 1.12
8 2023/12/23 10:52:54 bluhm
Exp $ */
+/* $OpenBSD: if_pppx.c,v 1.12
9 2024/07/30 13:41:15 yasuoka
Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
@@
-1417,10
+1417,12
@@
pppac_del_session(struct pppac_softc *sc, struct pipex_session_close_req *req)
return (EINVAL);
}
pipex_unlink_session_locked(session);
- pipex_rele_session(session);
mtx_leave(&pipex_list_mtx);
+ pipex_export_session_stats(session, &req->psr_stat);
+ pipex_rele_session(session);
+
return (0);
}