mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
The ->move operation has two bugs: - It is called with the same extension as source and destination, so it doesn't update the new extension. - The address of the old extension is calculated incorrectly, instead of (void *)ct->ext + ct->ext->offset[i] it uses ct->ext + ct->ext->offset[i]. Fixes a crash on x86_64 reported by Chuck Ebbert <[email protected]> and Thomas Woerner <[email protected]>. Tested-by: Thomas Woerner <[email protected]> Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>