shithub: riscv

Download patch

ref: 950e22be6756c42c614287e103397f490cc7f106
parent: b670fc0ac5ad8027e18318191f183457937fb2e4
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jan 22 16:33:22 EST 2018

ip: make pkt interfaces unbind on close (from inferno)

--- a/sys/src/9/ip/pktmedium.c
+++ b/sys/src/9/ip/pktmedium.c
@@ -24,6 +24,7 @@
 .unbind=	pktunbind,
 .bwrite=	pktbwrite,
 .pktin=		pktin,
+.unbindonclose=	1,
 };
 
 /*