From: Eric Dumazet <[email protected]> Date: Sat, 08 Apr 2017 11:55:32 -0700
> On Sat, 2017-04-08 at 20:36 +0200, Steffen Klassert wrote: >> All available gso_type flags are currently in use, so >> extend gso_type from 'unsigned short' to 'unsigned int' >> to be able to add further flags. >> >> We reorder the struct skb_shared_info to use >> two bytes of the four byte hole before dataref. >> All fields before dataref are cleared, i.e. >> four bytes more than before the change. >> >> The remaining two byte hole is moved to the >> beginning of the structure, this protects us >> from immediate overwites on out of bound writes >> to the sk_buff head. > >> Signed-off-by: Steffen Klassert <[email protected]> ... > This looks much better, thanks Steffen. > > Acked-by: Eric Dumazet <[email protected]> Applied, thanks everyone.
