kpatch/kpatch-build
Seth Jennings 2b92531df2 fix list corruption in special section handlers
The kpatch_regenerate_* functions use a local list_head to construct the
new list.  While the local list_head is copied to the sec->relas after
it is built, the neighboring nodes in the list are not updated, leading
to list corruption.

This commit uses list_replace() which updates the neighbor nodes properly.

Regression introduced by PR #117 5d36dd1.

Fixes #185.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-05-15 15:27:53 -05:00
..
add-patches-section.c refactor core <-> patch interface 2014-05-12 14:58:29 -05:00
create-diff-object.c fix list corruption in special section handlers 2014-05-15 15:27:53 -05:00
kpatch-build Merge pull request #184 from jpoimboe/kb-os-release 2014-05-13 15:38:06 -05:00
link-vmlinux-syms.c safe kpatch unload 2014-04-25 23:05:26 -05:00
list.h fix list corruption in special section handlers 2014-05-15 15:27:53 -05:00
Makefile convert from arrays to linked-lists 2014-05-07 10:06:41 -05:00