netfilter: nft_exthdr: fix error handling in nft_exthdr_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Oct 2016 06:09:12 +0000 (09:09 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Oct 2016 15:43:54 +0000 (17:43 +0200)
commit21a9e0f1568eaa0aad970c06e4cc8d77de8d9fa1
treeb06a3dfbb03efdc1fc29d135cf28bae9f230e8c7
parent09525a09ad3099efd9ba49b0b90bddc350d6b53a
netfilter: nft_exthdr: fix error handling in nft_exthdr_init()

"err" needs to be signed for the error handling to work.

Fixes: 36b701fae12a ('netfilter: nf_tables: validate maximum value of u32 netlink attributes')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_exthdr.c