[SCTP] Use id to ptr translation service in lib/idr.c to assign and
validate ids of associations. This patch avoids the use of virt_addr_valid() to validate the address of associations passed by the user. Currently the address of an association is used as its id. virt_addr_valid doesn't work as expected when PAGEALLOC debugging is enabled.
Showing
Please register or sign in to comment