summaryrefslogtreecommitdiff
path: root/irq.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
commit7aebca65f569ceb5fd8a12bef5fa6b58f277683d (patch)
treed24596b0445d3a21ca5db4af480aa6e71bc74ae8 /irq.h
parentdce80974dcd2114ebb4a3ed3060d4d636cbb9d1d (diff)
mausezahn: Make sure '\0' is written after strncpy
Make sure params is always NULL-terminated as strncpy() doesn't guarantee this. Closes #134 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'irq.h')
0 files changed, 0 insertions, 0 deletions
9c68363efb6d1f950ec55fb06e031ee70db5fc (diff)
netfilter: add and use nf_ct_set helper
Add a helper to assign a nf_conn entry and the ctinfo bits to an sk_buff. This avoids changing code in followup patch that merges skb->nfct and skb->nfctinfo into skb->_nfct. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/netfilter/ipt_SYNPROXY.c')
-rw-r--r--net/ipv4/netfilter/ipt_SYNPROXY.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/ipt_SYNPROXY.c b/net/ipv4/netfilter/ipt_SYNPROXY.c