All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] xfrm: Remove ancient sleeping code
@ 2013-10-10  6:33 Steffen Klassert
  2013-10-10  6:33 ` [PATCH RFC 1/2] xfrm: Remove ancient sleeping when the SA is in acquire state Steffen Klassert
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Steffen Klassert @ 2013-10-10  6:33 UTC (permalink / raw)
  To: netdev

Does anyone still rely on the ancient sleeping when the SA is in
acquire state? It is disabled by default since more that five years,
but can cause indefinite task hangs if enabled and the needed state
does not get resolved.

We now queue packets to the policy if the states are not yet resolved
if we are in a code path that can not sleep. We could do this even in
the case we can sleep. As a bonus, we can remove the FLOWI_FLAG_CAN_SLEEP
flag because the only thing this flag does, is to notify xfrm that we are
in a codepath that can sleep.

The two RFC patches to remove the sleeping code are in reply to this
mail. I'd add this to the ipsec-next tree if there are no objections.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-10-21 14:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10  6:33 [PATCH RFC 0/2] xfrm: Remove ancient sleeping code Steffen Klassert
2013-10-10  6:33 ` [PATCH RFC 1/2] xfrm: Remove ancient sleeping when the SA is in acquire state Steffen Klassert
2013-10-10  6:34 ` [PATCH RFC 2/2] net: Remove FLOWI_FLAG_CAN_SLEEP Steffen Klassert
2013-10-10  7:02 ` [PATCH RFC 0/2] xfrm: Remove ancient sleeping code Fan Du
2013-10-10  8:57   ` Steffen Klassert
2013-10-11  7:18     ` Fan Du
2013-10-11  9:21       ` Steffen Klassert
2013-10-11 19:01 ` David Miller
2013-10-15  7:30   ` Steffen Klassert
2013-10-15 23:14     ` David Miller
2013-10-15 23:58     ` Eric Dumazet
2013-10-16  9:45       ` Steffen Klassert
2013-10-16 11:42         ` [PATCH RFC] xfrm: Don't queue retransmitted packets if the original is still on the host Steffen Klassert
2013-10-18 20:19           ` David Miller
2013-10-18 20:23             ` Eric Dumazet
2013-10-18 20:34               ` David Miller
2013-10-21 14:51                 ` Steffen Klassert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.