[rds-devel] rds_conn_shutdown() issue.

Zach Brown zach.brown at oracle.com
Wed May 7 11:40:11 PDT 2008


> I think it's safe to call kfree on a NULL pointer. At least that's what
> the code currently does - but I'm not sure whether it's good style to
> rely on that or not.

It's preferred that way in mainline, yes.  If you don't do it you'll get
janitor patches in the future that change it under you.  Best to avoid
that churn from the start.

 http://www.ussg.iu.edu/hypermail/linux/kernel/0510.1/1059.html

- z



More information about the rds-devel mailing list