git: 9front

Download patch

ref: 065605e37c0829dd54899cf8d9c648397f97323c
parent: c51491b7375d96070504969ac7519fa637c6de2a
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;
 	}
 
--