From: Jiri Pirko Date: Wed, 24 Feb 2010 23:57:04 +0000 (+0000) Subject: af_packet: do not accept mc address smaller then dev->addr_len in packet_mc_add() X-Git-Tag: v2.6.34-rc1~233^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914c8ad2d18b62ad1420f518c0cab0b0b90ab308;p=pandora-kernel.git af_packet: do not accept mc address smaller then dev->addr_len in packet_mc_add() There is no point of accepting an address of smaller length than dev->addr_len here. Therefore change this for stonger check. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed