summaryrefslogtreecommitdiffstats
path: root/crypto/poly1305_generic.c
diff options
context:
space:
mode:
authorGao Feng2016-08-29 12:25:28 +0200
committerPablo Neira Ayuso2016-08-30 11:52:32 +0200
commit779994fa3636d46848edb402fe7517968e036e6f (patch)
tree59398c227d211898054545b870b5bf20dcda746f /crypto/poly1305_generic.c
parentnetfilter: log_arp: Use ARPHRD_ETHER instead of literal '1' (diff)
downloadkernel-qcow2-linux-779994fa3636d46848edb402fe7517968e036e6f.tar.gz
kernel-qcow2-linux-779994fa3636d46848edb402fe7517968e036e6f.tar.xz
kernel-qcow2-linux-779994fa3636d46848edb402fe7517968e036e6f.zip
netfilter: log: Check param to avoid overflow in nf_log_set
The nf_log_set is an interface function, so it should do the strict sanity check of parameters. Convert the return value of nf_log_set as int instead of void. When the pf is invalid, return -EOPNOTSUPP. Signed-off-by: Gao Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'crypto/poly1305_generic.c')
0 files changed, 0 insertions, 0 deletions