pfkey: fix SADB_X_EXT_FILTER length check
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 20 Feb 2014 13:52:41 +0000 (14:52 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 21 Feb 2014 05:40:54 +0000 (06:40 +0100)
commitd2c5f6582515362328b33b2a331a17e141ef0d40
treec50123bfed852241aaa318c65956c1587188924a
parent1a1ccc96abb2ed9b8fbb71018e64b97324caef53
pfkey: fix SADB_X_EXT_FILTER length check

This patch fixes commit d3623099d350 ("ipsec: add support of limited SA dump").

sadb_ext_min_len array should be updated with the new type (SADB_X_EXT_FILTER).

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/key/af_key.c