Thomas Graf b9a2f2e450 netlink: Fix nla_parse_nested_compat() to call nla_parse() directly
The purpose of nla_parse_nested_compat() is to parse attributes which
contain a struct followed by a stream of nested attributes.  So far,
it called nla_parse_nested() to parse the stream of nested attributes
which was wrong, as nla_parse_nested() expects a container attribute
as data which holds the attribute stream.  It needs to call
nla_parse() directly while pointing at the next possible alignment
point after the struct in the beginning of the attribute.

With this patch, I can no longer reproduce the reported leftover
warnings.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-22 10:48:59 -07:00
..
2008-04-23 23:00:13 -04:00
2008-05-08 18:04:02 +01:00
2008-05-14 10:05:18 -07:00
2008-05-05 12:38:50 -07:00
2008-05-12 16:46:55 +01:00
2008-05-12 22:57:51 +10:00
2008-05-21 17:40:05 -07:00
2008-04-17 11:31:58 +03:00
2008-04-29 08:06:12 -07:00
2008-04-24 23:57:33 +02:00