OpenCloudOS-Kernel/net/netfilter
Herbert Xu 325ed82393 [NET]: Fix packet timestamping.
I've found the problem in general.  It affects any 64-bit
architecture.  The problem occurs when you change the system time.

Suppose that when you boot your system clock is forward by a day.
This gets recorded down in skb_tv_base.  You then wind the clock back
by a day.  From that point onwards the offset will be negative which
essentially overflows the 32-bit variables they're stored in.

In fact, why don't we just store the real time stamp in those 32-bit
variables? After all, we're not going to overflow for quite a while
yet.

When we do overflow, we'll need a better solution of course.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-10-03 13:57:23 -07:00
..
Kconfig [NETFILTER]: Add new "nfnetlink_log" userspace packet logging facility 2005-08-29 15:38:12 -07:00
Makefile [NETFILTER]: split net/core/netfilter.c into net/netfilter/*.c 2005-08-29 15:51:11 -07:00
core.c [NETFILTER]: split net/core/netfilter.c into net/netfilter/*.c 2005-08-29 15:51:11 -07:00
nf_internals.h [NETFILTER]: split net/core/netfilter.c into net/netfilter/*.c 2005-08-29 15:51:11 -07:00
nf_log.c [NETFILTER]: Fix compilation when no PROC_FS enabled 2005-08-29 15:56:54 -07:00
nf_queue.c [NETFILTER]: more verbose return codes from nf_{log,queue} 2005-08-29 15:51:21 -07:00
nf_sockopt.c [NETFILTER]: split net/core/netfilter.c into net/netfilter/*.c 2005-08-29 15:51:11 -07:00
nfnetlink.c [NETFILTER]: net/netfilter/nfnetlink*: make functions static 2005-09-05 18:06:45 -07:00
nfnetlink_log.c [NET]: Fix packet timestamping. 2005-10-03 13:57:23 -07:00
nfnetlink_queue.c [NET]: Fix packet timestamping. 2005-10-03 13:57:23 -07:00