Re: [PATCH net 1/2] rose: limit sk_filter trim to payload

2016-07-12 Thread Daniel Borkmann
On 07/13/2016 12:18 AM, Willem de Bruijn wrote: From: Willem de Bruijn Sockets can have a filter program attached that drops or trims incoming packets based on the filter program return value. Rose requires data packets to have at least ROSE_MIN_LEN bytes. It verifies this on arrival in rose_r

[PATCH net 1/2] rose: limit sk_filter trim to payload

2016-07-12 Thread Willem de Bruijn
From: Willem de Bruijn Sockets can have a filter program attached that drops or trims incoming packets based on the filter program return value. Rose requires data packets to have at least ROSE_MIN_LEN bytes. It verifies this on arrival in rose_route_frame and unconditionally pulls the bytes in

[PATCH net 1/2] rose: limit sk_filter trim to payload

2016-07-12 Thread Willem de Bruijn
From: Willem de Bruijn Sockets can have a filter program attached that drops or trims incoming packets based on the filter program return value. Rose requires data packets to have at least ROSE_MIN_LEN bytes. It verifies this on arrival in rose_route_frame and unconditionally pulls the bytes in