diff options
author | Miroslav Urbanek <mu@miroslavurbanek.com> | 2015-02-05 16:36:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 14:38:53 -0800 |
commit | 233c96fc077d310772375d47522fb444ff546905 (patch) | |
tree | 4fa6a03001136123b52f522ed22778f6f36ad28e /include/net/flowcache.h | |
parent | 9d82f5eb3376cbae96ad36a063a9390de1694546 (diff) | |
download | talos-op-linux-233c96fc077d310772375d47522fb444ff546905.tar.gz talos-op-linux-233c96fc077d310772375d47522fb444ff546905.zip |
flowcache: Fix kernel panic in flow_cache_flush_task
flow_cache_flush_task references a structure member flow_cache_gc_work
where it should reference flow_cache_flush_task instead.
Kernel panic occurs on kernels using IPsec during XFRM garbage
collection. The garbage collection interval can be shortened using the
following sysctl settings:
net.ipv4.xfrm4_gc_thresh=4
net.ipv6.xfrm6_gc_thresh=4
With the default settings, our productions servers crash approximately
once a week. With the settings above, they crash immediately.
Fixes: ca925cf1534e ("flowcache: Make flow cache name space aware")
Reported-by: Tomáš Charvát <tc@excello.cz>
Tested-by: Jan Hejl <jh@excello.cz>
Signed-off-by: Miroslav Urbanek <mu@miroslavurbanek.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flowcache.h')
0 files changed, 0 insertions, 0 deletions