[PATCH 3.4] ipv6: add check for blackhole or prohibited entry in rt6_redirect

2015-06-11 Thread Chen Weilong
From: Weilong Chen There's a check for ip6_null_entry, but it's not enough if the config CONFIG_IPV6_MULTIPLE_TABLES is selected. Blackhole or prohibited entries should also be ignored. This path is for kernel before v3.6, as there's a commit b94f1c0 use icmpv6_notify() instead of rt6_redirect()

[PATCH] ipv4: avoid divide 0 error in tcp_incr_quickack

2014-11-02 Thread Chen Weilong
From: Weilong Chen We got a problem like this: [8801c1a05570] machine_kexec at 81025039 [8801c1a055d0] crash_kexec at 8109b253 [8801c1a056a0] oops_end at 81442aed [8801c1a056d0] die at 81005603 [8801c1a05700] do_trap at 81442448 [f

[PATCH] ipv4: avoid divide 0 error in tcp_incr_quickack

2014-10-31 Thread Chen Weilong
From: Weilong Chen We got a problem like this: [8801c1a05570] machine_kexec at 81025039 [8801c1a055d0] crash_kexec at 8109b253 [8801c1a056a0] oops_end at 81442aed [8801c1a056d0] die at 81005603 [8801c1a05700] do_trap at 81442448 [f