From: Steve Glendinning Date: Fri, 30 Nov 2012 05:55:48 +0000 (+0000) Subject: smsc95xx: fix suspend buffer overflow X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eed9a72914a2b2737a0d91b80579f878999574ef;p=pandora-kernel.git smsc95xx: fix suspend buffer overflow This patch fixes a buffer overflow introduced by bbd9f9e, where the filter_mask array is accessed beyond its bounds. Updated to also add a check for kzalloc failure, as reported by Bjorn Mork and Joe Perches. Reported-by: Dan Carpenter Signed-off-by: Steve Glendinning Cc: Bjorn Mork Cc: Joe Perches Signed-off-by: David S. Miller --- Reading git-diff-tree failed