[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <F0B93D0554724543876B9A180DC988575B7430@039-SN1MPN1-001.039d.mgd.msft.net>
Date: Wed, 9 May 2012 09:23:16 +0000
From: Agarwal Nikhil-B38457 <B38457@...escale.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Memory exhaust issue with only IPsec policies configured on
continuous traffic
Hi all,
In a typical scenario, when IPSEC policies are configured in the system but SA is not present or negotiation fails or IKE daemon is not running. The current behavior of xfrm is to send those matching packets to blackhole route. i.e. xfrm_bundle_lookup returns a bundle with null route and xfrm_lookup returns a blackhole route.
For each of these packet a dst_alloc is called in ipv4_blackhole_route. However when these skbs get free and their dst's get discarded using dst_free and the garbage collector is scheduled using cancel_delayed_work and schedule_delayed_work.
If the packets are coming continuously garbage collector may not get scheduled and large amount of memory is stuck to be freed causing the system to go into non-recoverable state.
Any ideas?
Regards
Nikhil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists