+++ Chris J Arges [02/11/15 11:58 -0600]:
The following directory structure will allow for cases when the same function name exists in a single object. /sys/kernel/livepatch/<patch>/<object>/<function.number> The number is incremented on each known initialized func kobj thus creating unique names in this case. An example of this issue is documented here: https://github.com/dynup/kpatch/issues/493 Signed-off-by: Chris J Arges <chris.j.arges@xxxxxxxxxxxxx>
Thanks Chris. Verified that the patch fixes the panic caused by multiple functions with the same name and object. Acked-by: Jessica Yu <jeyu@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html