| To: | David Dillow <dave@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC 2.6.10 7/22] xfrm: Allow device drivers to force recalculation of offloads |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Fri, 21 Jan 2005 15:23:58 -0800 |
| Cc: | netdev@xxxxxxxxxxx, dave@xxxxxxxxxxxxxx |
| In-reply-to: | <20041230035000.16@ori.thedillows.org> |
| References: | <20041230035000.15@ori.thedillows.org> <20041230035000.16@ori.thedillows.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 30 Dec 2004 03:48:35 -0500 David Dillow <dave@xxxxxxxxxxxxxx> wrote: > # This is a BitKeeper generated diff -Nru style patch. > # > # ChangeSet > # 2004/12/30 00:37:44-05:00 dave@xxxxxxxxxxxxxx > # Give device drivers a method to allow the use of crypto > # offload features for existing xfrm_states and bundles, as > # well as dynamically remove crypto offload capabilities. > # > # Signed-off-by: David Dillow <dave@xxxxxxxxxxxxxx> This change looks fine, but it reminds me of something. We have to make sure there is no way for xfrm_offloads to refer to a device when it is brought down. One way to ensure that, is to make each xfrm_offload attached grab a reference to the device it is for. The refcounting will help catch cases where stale xfrm_offload are around at unregister_netdev() time. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [RFC 2.6.10 6/22] xfrm: add a parameter to xfrm_prune_bundles(), David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH]: was Re: LLTX and netif_stop_queue, Roland Dreier |
| Previous by Thread: | Re: [RFC 2.6.10 6/22] xfrm: add a parameter to xfrm_prune_bundles(), David S. Miller |
| Next by Thread: | Re: [RFC 2.6.10 7/22] xfrm: Allow device drivers to force recalculation of offloads, David Dillow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |