From: Antonio Quartulli Date: Mon, 27 Feb 2012 10:29:53 +0000 (+0100) Subject: batman-adv: fix wrong dhcp option list browsing X-Git-Tag: v3.5-rc1~109^2~106^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9205cc521ec74bd510857a464d4ac4edee949bfd;p=pandora-kernel.git batman-adv: fix wrong dhcp option list browsing In is_type_dhcprequest(), while parsing a DHCP message, if the entry we found in the option list is neither a padding nor the dhcp-type, we have to ignore it and jump as many bytes as its length + 1. The "+ 1" byte is given by the subtype field itself that has to be jumped too. Reported-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed