Fixes tcpackproc name's memory
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Apr 2014 02:52:29 +0000 (19:52 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Apr 2014 02:52:29 +0000 (19:52 -0700)
commit39ae49188ddbd52b19828dd26a4e308a5c3da169
treefbcc2fc62fe50e7563d30f6b57782a2407b751d0
parent5707aaa0a69c4d3a11ad8e7583ea749b07cb0591
Fixes tcpackproc name's memory

Our ktasks (possibly foolishly) don't make a copy of the name for the
caller.  So the caller (or rather the ktask itself) needs to free the
memory for the kname when it is done.

Probably should change this.
kern/src/net/tcp.c
kern/src/process.c