Bugzilla – Attachment 86502 Details for
Bug 117749
IPsec crashes kernel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
updated SUSE 10.0 patch
xfrm-endless-loop-10.0.diff (text/plain), 745 bytes, created by
Marius Tomaschewski
on 2006-06-01 10:53:35 UTC
(
hide
)
Description:
updated SUSE 10.0 patch
Filename:
MIME Type:
Creator:
Marius Tomaschewski
Created:
2006-06-01 10:53:35 UTC
Size:
745 bytes
patch
obsolete
>--- linux-2.6.13-15.10/net/xfrm/xfrm_policy.c >+++ linux-2.6.13-15.10/net/xfrm/xfrm_policy.c 2006-06-01 11:59:13.000000000 +0200 >@@ -742,7 +742,17 @@ > int err; > u32 genid; > u16 family = dst_orig->ops->family; >+ unsigned long timeout = jiffies + 60 * HZ; >+ int loops = 0; >+ > restart: >+ if (unlikely(time_after(jiffies, timeout))) { >+ printk(KERN_NOTICE "xfrm_lookup bailing out after 60 seconds and %d loops\n", loops++); >+ dump_stack(); >+ err = -EHOSTUNREACH; >+ goto error_nopol; >+ } >+ > genid = atomic_read(&flow_cache_genid); > policy = NULL; > if (sk && sk->sk_policy[1]) >@@ -860,8 +870,9 @@ > return 0; > > error: >- dst_release(dst_orig); > xfrm_pol_put(policy); >+error_nopol: >+ dst_release(dst_orig); > *dst_p = NULL; > return err; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 117749
:
54633
|
54650
|
54652
|
59102
|
59285
|
65244
|
65245
|
65248
|
65282
|
65369
|
65417
|
65615
|
66176
|
70394
|
70395
|
86502
|
87491