lockd freeing memory it doesn't own?

Michael Elizabeth Chastain (mec@shout.net)
Mon, 18 May 1998 23:59:13 -0500


Hi Olaf,

I'm locking at fs/lockd/clntproc.c and its use of system_utsname.

Specifically, in clntproc.c, there is some code to set
lock->caller and alock->caller to system_utsname. I can't figure
out where these things are getting used. Ultimately, though,
nlmclnt_freegrantargs calls kfree on it.

Could you help me understand this "caller" field and the memory
management that is going on here?

Thanks,

Michael Chastain
<mailto:mec@shout.net>
"love without fear"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu