Skip to contentSkip to conversation

Sporadic hitting the BUG() in the XFRM Garbage Collector

DISCUSSION Ludo Stellingwerff 2 participants 2 messages Sep 7, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

One of our client's machines sometimes hits the BUG() in xfrm_state.c (line 54).
This seems to happen at the removal of a IPsec policy. Some data: kernel 2.6.6. with Netfilter POM IPSEC-patches, ipsec-tools 0.2.3.

If I read the code correctly this would mean that the garbage collector tries to stop an earlier deactivated timer. (del_timer returning '0')

Does anybody know what causes this? And, is a kernel BUG not a bit too drastic for this error condition? Wouln't a WARN_ON suffice?

Thanks in advance,
Greetings,
Ludo Stellingwerff.

PS. As I'm currently not subscribed please CC me directly.

Signature · 9 lines
Ludo Stellingwerff

V&S B.V. The Netherlands
ProTactive firewall solution.
Tel: +31 172 416116
Fax: +31 172 416124

site: www.protactive.nl
demo: http://www.protactive.nl:81/netview.html
#1 lore raw
Quoted 2 lines · On Tue, 07 Sep 2004 17:19:26 +0200 Ludo Stellingwerff <[email protected]>…

This seems to happen at the removal of a IPsec policy. Some data: kernel 2.6.6. with Netfilter POM IPSEC-patches, ipsec-tools 0.2.3.

Known problem with xfrm reference counting, fixed in 2.6.7 and later.

Please report networking bugs to the proper channels in the future, namely [email protected] and [email protected] as this is where the networking developers listen.

Thanks.