From: Willem de Bruijn <willemdebruijn.ker...@gmail.com> Date: Mon, 29 Apr 2019 11:53:18 -0400
> From: Willem de Bruijn <will...@google.com> > > Packet sockets in datagram mode take a destination address. Verify its > length before passing to dev_hard_header. > > Prior to 2.6.14-rc3, the send code ignored sll_halen. This is > established behavior. Directly compare msg_namelen to dev->addr_len. > > Change v1->v2: initialize addr in all paths > > Fixes: 6b8d95f1795c4 ("packet: validate address length if non-zero") > Suggested-by: David Laight <david.lai...@aculab.com> > Signed-off-by: Willem de Bruijn <will...@google.com> Applied and queued up for -stable.