+5
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
My previous patch 914c8ad2 incorrectly changed the length check in packet_mc_add to be more strict. The problem is that userspace is not filling this field (and it stays zeroed) in case of setting PACKET_MR_PROMISC or PACKET_MR_ALLMULTI. So move the strict check to the point in path where the addr_len must be set correctly. Signed-off-by:Jiri Pirko <jpirko@redhat.com> Reported-by:
Pavel Roskin <proski@gnu.org> Signed-off-by:
David S. Miller <davem@davemloft.net>