From: Eric Dumazet <eric.duma...@gmail.com>
Date: Tue, 31 Jan 2017 10:20:32 -0800

> From: Eric Dumazet <eduma...@google.com>
> 
> Dmitry reported warnings occurring in __skb_gso_segment() [1]
> 
> All SKB_GSO_DODGY producers can allow user space to feed
> packets that trigger the current check.
> 
> We could prevent them from doing so, rejecting packets, but
> this might add regressions to existing programs.
> 
> It turns out our SKB_GSO_DODGY handlers properly set up checksum
> information that is needed anyway when packets needs to be segmented.
> 
> By checking again skb_needs_check() after skb_mac_gso_segment(),
> we should remove these pesky warnings, at a very minor cost.
> 
> With help from Willem de Bruijn
 ...
> Signed-off-by: Eric Dumazet <eduma...@google.com>
> Reported-by: Dmitry Vyukov  <dvyu...@google.com>
> Cc: Willem de Bruijn <will...@google.com>

Applied, thanks Eric.

Reply via email to