Re: [PATCH/RFC net-next v2 1/4] flow dissector: return error on port dissection under-run

2017-05-08 Thread Jamal Hadi Salim
On 17-05-05 08:47 AM, Simon Horman wrote: Return an error from __skb_flow_dissect() if insufficient packet data is present when dissecting layer 4 ports. Without this patch the absence of ports in truncated - e.g. UDP - packets is treated the same way by the flow dissector as the presence of por

[PATCH/RFC net-next v2 1/4] flow dissector: return error on port dissection under-run

2017-05-05 Thread Simon Horman
Return an error from __skb_flow_dissect() if insufficient packet data is present when dissecting layer 4 ports. Without this patch the absence of ports in truncated - e.g. UDP - packets is treated the same way by the flow dissector as the presence of ports with a value of zero. And without this pa