Re: [PATCH 11/16] [XFRM] netlink: Enhance indexing of the attribute array

2007-08-22 Thread David Miller
From: Thomas Graf <[EMAIL PROTECTED]> Date: Wed, 22 Aug 2007 16:55:49 +0200 > nlmsg_parse() puts attributes at array[type] so the indexing > method can be simpilfied by removing the obscuring "- 1". > > Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Applied. - To unsubscribe from this list: send

[PATCH 11/16] [XFRM] netlink: Enhance indexing of the attribute array

2007-08-22 Thread Thomas Graf
nlmsg_parse() puts attributes at array[type] so the indexing method can be simpilfied by removing the obscuring "- 1". Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.24/net/xfrm/xfrm_user.c === --- net-2.6.24.orig/net/