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
1 changed files with 3 additions and 0 deletions

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;