summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_conntrack.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso2015-10-04 19:38:14 +0200
committerPablo Neira Ayuso2015-10-05 17:27:25 +0200
commitb28b1e826f818c30ea732ba751bbecb202dd32a7 (patch)
treef8fd6e422d38df6ca9866b6b2829100819ddc23e /include/net/netfilter/nf_conntrack.h
parentMerge tag 'ipvs3-for-v4.4' of https://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-qcow2-linux-b28b1e826f818c30ea732ba751bbecb202dd32a7.tar.gz
kernel-qcow2-linux-b28b1e826f818c30ea732ba751bbecb202dd32a7.tar.xz
kernel-qcow2-linux-b28b1e826f818c30ea732ba751bbecb202dd32a7.zip
netfilter: nfnetlink_queue: use y2038 safe timestamp
The __build_packet_message function fills a nfulnl_msg_packet_timestamp structure that uses 64-bit seconds and is therefore y2038 safe, but it uses an intermediate 'struct timespec' which is not. This trivially changes the code to use 'struct timespec64' instead, to correct the result on 32-bit architectures. This is a copy and paste of Arnd's original patch for nfnetlink_log. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_conntrack.h')
0 files changed, 0 insertions, 0 deletions