On Sat, Dec 22, 2018 at 6:13 PM David Miller <da...@davemloft.net> wrote: > > From: Willem de Bruijn <willemdebruijn.ker...@gmail.com> > Date: Sat, 22 Dec 2018 16:53:45 -0500 > > > From: Willem de Bruijn <will...@google.com> > > > > Validate packet socket address length if a length is given. Zero > > length is equivalent to not setting an address. > > > > Fixes: 99137b7888f4 ("packet: validate address length") > > Reported-by: Ido Schimmel <ido...@idosch.org> > > Signed-off-by: Willem de Bruijn <will...@google.com> > > Applied, thanks Willem. > > I'll put this into -stable next to the patch it fixes.
Thanks David. Sorry for the earlier cock-up. Looking at this, I noticed one header_ops.create implementation that always expects non-zero daddr. Will send a small fix for that, too.