From: Arnaldo Carvalho de Melo Date: Tue, 10 Jun 2008 19:39:35 +0000 (-0700) Subject: inet{6}_request_sock: Init ->opt and ->pktopts in the constructor X-Git-Tag: v2.6.26-rc6~13^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce4a7d0d48bbaed78ccbb0bafb9229651a40303a;p=pandora-kernel.git inet{6}_request_sock: Init ->opt and ->pktopts in the constructor Wei Yongjun noticed that we may call reqsk_free on request sock objects where the opt fields may not be initialized, fix it by introducing inet_reqsk_alloc where we initialize ->opt to NULL and set ->pktopts to NULL in inet6_reqsk_alloc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed