aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2015-01-09 20:03:04 +0000
committerJiri Kosina <[email protected]>2015-01-09 21:27:47 +0000
commit99590ba565a22c9f58f7528a94881d0455eef018 (patch)
tree5c0fc1368e6e6ea99b8bf644a706ed276c051808 /drivers/net/xen-netback/interface.c
parentlivepatch: handle ancient compilers with more grace (diff)
downloadkernel-99590ba565a22c9f58f7528a94881d0455eef018.tar.gz
kernel-99590ba565a22c9f58f7528a94881d0455eef018.zip
livepatch: fix deferred module patching order
When applying multiple patches to a module, if the module is loaded after the patches are loaded, the patches are applied in reverse order: $ insmod patch1.ko [ 43.172992] livepatch: enabling patch 'patch1' $ insmod patch2.ko [ 46.571563] livepatch: enabling patch 'patch2' $ modprobe nfsd [ 52.888922] livepatch: applying patch 'patch2' to loading module 'nfsd' [ 52.899847] livepatch: applying patch 'patch1' to loading module 'nfsd' Fix the loading order by storing the klp_patches list in queue order. Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions