commit | 914c8ad2d18b62ad1420f518c0cab0b0b90ab308 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jpirko@redhat.com> | Wed Feb 24 23:57:04 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 26 04:18:34 2010 -0800 |
tree | 1e2d35a5dd2c1dcba1cc02f9c022ce923dc12d9f | |
parent | 2a3f279034b46204b50408aa2c25ee0882120147 [diff] |
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 <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>