linux/net
Xi Wang c121638277 netfilter: ctnetlink: fix timeout calculation
The sanity check (timeout < 0) never works; the dividend is unsigned
and so is the division, which should have been a signed division.

	long timeout = (ct->timeout.expires - jiffies) / HZ;
	if (timeout < 0)
		timeout = 0;

This patch converts the time values to signed for the division.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2011-12-31 16:59:04 +01:00
..
9p
802
8021q
appletalk
atm
ax25
batman-adv batman-adv: delete global entry in case of roaming 2011-12-07 03:12:59 +08:00
bluetooth Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2011-12-21 13:18:22 -05:00
bridge net: introduce DST_NOPEER dst flag 2011-12-22 22:34:56 -05:00
caif caif: fix endian conversion in cffrml_transmit() 2011-11-21 16:46:24 -05:00
can
ceph Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2011-12-13 14:59:42 -08:00
core net: relax rcvbuf limits 2011-12-23 02:15:14 -05:00
dcb
dccp dccp: fix error propagation in dccp_v4_connect 2011-11-21 16:45:26 -05:00
decnet decnet: proper socket refcounting 2011-11-26 15:49:07 -05:00
dns_resolver
dsa
econet
ethernet
ieee802154
ipv4 net: introduce DST_NOPEER dst flag 2011-12-22 22:34:56 -05:00
ipv6 net: introduce DST_NOPEER dst flag 2011-12-22 22:34:56 -05:00
ipx
irda
iucv
key
l2tp l2tp: ensure sk->dst is still valid 2011-11-26 15:57:36 -05:00
lapb
llc llc: llc_cmsg_rcv was getting called after sk_eat_skb. 2011-12-19 15:58:52 -05:00
mac80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2011-12-09 14:07:12 -05:00
netfilter netfilter: ctnetlink: fix timeout calculation 2011-12-31 16:59:04 +01:00
netlabel netlabel: Fix build problems when IPv6 is not enabled 2011-11-29 16:48:52 -05:00
netlink
netrom
nfc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2011-12-15 13:47:58 -05:00
packet packet: fix possible dev refcnt leak when bind fail 2011-12-27 22:32:41 -05:00
phonet
rds rds: drop "select LLIST" 2011-11-14 00:10:50 -05:00
rfkill
rose
rxrpc
sched netem: dont call vfree() under spinlock and BH disabled 2011-12-24 16:08:50 -05:00
sctp sctp: Do not account for sizeof(struct sk_buff) in estimated rwnd 2011-12-20 13:58:37 -05:00
sunrpc SUNRPC: Ensure we always bump the backlog queue in xprt_free_slot 2011-12-01 14:16:17 -05:00
tipc
unix AF_UNIX: Fix poll blocking problem when reading from a stream socket 2011-11-26 16:34:22 -05:00
wanrouter
wimax
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2011-12-05 11:05:44 -05:00
x25
xfrm net: Add a flow_cache_flush_deferred function 2011-12-21 16:48:08 -05:00
Kconfig
Makefile
compat.c
nonet.c
socket.c
sysctl_net.c