ref: c145a2c0aaa4458b6128f17a05a5e4701cb11929
parent: 47e52123d06390a29f3233f7ee16fcc0446b6a05
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Sep 21 14:02:53 EDT 2014
devip: print protocol name in garbage collection notification
--- a/sys/src/9/ip/devip.c
+++ b/sys/src/9/ip/devip.c
@@ -1321,10 +1321,11 @@
}
}
if(pp >= ep) {
- if(p->gc)
- print("Fsprotoclone: garbage collecting Convs\n");
- if(p->gc != nil && (*p->gc)(p))
- goto retry;
+ if(p->gc != nil){
+ print("Fsprotoclone: garbage collecting %s Convs\n", p->name);
+ if((*p->gc)(p))
+ goto retry;
+ }
return nil;
}