diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-22 21:49:45 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-25 10:18:31 +0200 |
commit | 5e91c9d9cd3fd557226ca75fed58816b9eee7e07 (patch) | |
tree | ace9caef5db08ea65ff891c1dc2c7179a8c46225 /samples/kprobes | |
parent | 61792b677415b77c8db04991c22966bb8de7603e (diff) |
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: a218dc82f0b5 ("netfilter: nft_osf: Add ttl option support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'samples/kprobes')
0 files changed, 0 insertions, 0 deletions