Skip to content
Commit 5e91c9d9 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: nft_osf: check if attribute is present



If the attribute is not sent, eg. old libnftnl binary, then
tb[NFTA_OSF_TTL] is NULL and kernel crashes from the _init path.

Fixes: a218dc82 ("netfilter: nft_osf: Add ttl option support")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 61792b67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment