From: Gao Feng
The function do_proc_dointvec_jiffies_conv uses LONG_MX/HZ as the
max value to avoid overflow. But actually the *valp is int type, so
it still causes overflow.
For example,
echo 2147483647 > ./sys/net/ipv4/tcp_keepalive_time
Then,
cat ./sys/net/ipv4/tcp_keepalive_time
The output i
From: Gao Feng
The original codes depend on that the function parameters are evaluated from
left to right. But the parameter's evaluation order is not defined in C
standard actually.
When flow_keys_have_l4(&keys) is invoked before ___skb_get_hash(skb, &keys,
hashrnd) with some compilers or envir
From: Gao Feng
The original codes depend on that the function parameters are evaluated from
left to right. But the parameter's evaluation order is not defined in C
standard actually.
When flow_keys_have_l4(&keys) is invoked before ___skb_get_hash(skb, &keys,
hashrnd) with some compilers or envir
From: Gao Feng
When rhashtable_walk_start returns -EAGAIN, it means the resize event
happened but the iterator still could be used. So it should not be
treated as an error in gfs2_glock_seq_start.
Signed-off-by: Gao Feng
---
fs/gfs2/glock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Gao Feng
Add nf_ct_helper_init, nf_conntrack_helpers_register/unregister
functions to enhance the conntrack helper codes.
Signed-off-by: Gao Feng
---
include/net/netfilter/nf_conntrack_helper.h | 16 ++
net/netfilter/nf_conntrack_ftp.c| 58 +++---
net/netf
From: Gao Feng
The gcc reports the following compile error on CentOS7.
include/linux/init.h:216:2: error: expected ',' or ';' before 'static'
static exitcall_t __exitcall_##fn __exit_call = fn
^
include/linux/init.h:279:24: note: in expansion of macro '__exitcall'
#define module_exit(x) __ex
From: Gao Feng
Signed-off-by: Gao Feng
---
sound/core/seq/seq_device.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/core/seq/seq_device.c b/sound/core/seq/seq_device.c
index c4acf17..4e859e4 100644
--- a/sound/core/seq/seq_device.c
+++ b/sound/core/seq/seq_devic
7 matches
Mail list logo