[LEDE-DEV] [PATCH] dnsmasq: backport arcount edns0 fix

2017-09-08 Thread Kevin Darbyshire-Bryant
Don't return arcount=1 if EDNS0 RR won't fit in the packet. Omitting the EDNS0 RR but setting arcount gives a malformed packet. Also, don't accept UDP packet size less than 512 in received EDNS0. Signed-off-by: Kevin Darbyshire-Bryant --- V2 - bump the makefile version this time Please cherrypi

[LEDE-DEV] [PATCH] dnsmasq: backport arcount edns0 fix

2017-09-08 Thread Kevin Darbyshire-Bryant
Don't return arcount=1 if EDNS0 RR won't fit in the packet. Omitting the EDNS0 RR but setting arcount gives a malformed packet. Also, don't accept UDP packet size less than 512 in received EDNS0. Signed-off-by: Kevin Darbyshire-Bryant --- Please cherrypick for 17.01 .../patches/030-fix-arcount