summaryrefslogtreecommitdiff
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-10-04 17:38:14 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2015-10-05 15:27:25 (GMT)
commitb28b1e826f818c30ea732ba751bbecb202dd32a7 (patch)
treef8fd6e422d38df6ca9866b6b2829100819ddc23e /include/net/netfilter
parent2b5b1a01a77f0e24b77680fce5245a582cb96330 (diff)
downloadlinux-b28b1e826f818c30ea732ba751bbecb202dd32a7.tar.xz
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')
0 files changed, 0 insertions, 0 deletions