Some code cleanup in PF_KEY kernel interface.