Re: [PATCH net 1/3] net: validate variable length ll headers

2016-03-05 Thread walter harms
Am 04.03.2016 21:44, schrieb Willem de Bruijn: > From: Willem de Bruijn > > Netdevice parameter hard_header_len is variously interpreted both as > an upper and lower bound on link layer header length. The field is > used as upper bound when reserving room at allocation, as lower bound > when va

[PATCH net 1/3] net: validate variable length ll headers

2016-03-04 Thread Willem de Bruijn
From: Willem de Bruijn Netdevice parameter hard_header_len is variously interpreted both as an upper and lower bound on link layer header length. The field is used as upper bound when reserving room at allocation, as lower bound when validating user input in PF_PACKET. Clarify the definition to