3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

wired: Include extra check for ARPHRD_ETHER on packet reception

This commit is contained in:
Marcel Holtmann 2018-10-16 14:40:18 +02:00
parent 1ee7de15c8
commit e0e046c784

View File

@ -257,6 +257,9 @@ static bool pae_read(struct l_io *io, void *user_data)
return false;
}
if (sll.sll_hatype != ARPHRD_ETHER)
return true;
if (sll.sll_halen != ETH_ALEN)
return true;