xfrm4_gc_thresh should default to INT_MAX

Bug #1549332 reported by Dan Streetman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Dan Streetman

Bug Description

The default xfrm4_gc_thresh (and xfrm6_gc_thresh) value is currently 32k, but in systems with > 16 cpus, this will (eventually) cause failures when ipsec uses too many dst objects. As xfrm doesn't actually manage its dst objects, the flowcache does, this parameter doesn't actually control xfrm dst gc, it only causes failures when exceeded. Thus is should simply be set to INT_MAX.

Upstream commit that fixes this is c386578f1cdb4dac230395a951f88027f64346e3

Dan Streetman (ddstreet)
Changed in linux (Ubuntu):
assignee: nobody → Dan Streetman (ddstreet)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1549332

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Dan Streetman (ddstreet)
tags: added: sts
Dan Streetman (ddstreet)
Changed in linux (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Dan Streetman (ddstreet) wrote :

Requested commit go into stable queue.

penalvch (penalvch)
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: cherry-pick
Revision history for this message
Dan Streetman (ddstreet) wrote :

this is already included in 4.4 and later

Changed in linux (Ubuntu):
status: In Progress → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.