From: Peter Hurley Date: Fri, 8 Mar 2013 20:43:26 +0000 (-0800) Subject: ipc: fix potential oops when src msg > 4k w/ MSG_COPY X-Git-Tag: v3.9-rc2~7^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1082f45f1e2bbf6e25f6b614fc6616ebf709d19;p=pandora-kernel.git ipc: fix potential oops when src msg > 4k w/ MSG_COPY If the src msg is > 4k, then dest->next points to the next allocated segment; resetting it just prior to dereferencing is bad. Signed-off-by: Peter Hurley Acked-by: Stanislav Kinsbursky Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed