New code from lwip project

lwip repo:
b8d7981 fixed bug #43389 dns_recv() res_idx calculate error