[XFRM] netlink: Enhance indexing of the attribute array
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Aug 2007 20:59:43 +0000 (13:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:23 +0000 (16:48 -0700)
nlmsg_parse() puts attributes at array[type] so the indexing
method can be simpilfied by removing the obscuring "- 1".

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found