decnet: Parse netlink attributes on our own
authorThomas Graf <tgraf@suug.ch>
Thu, 21 Mar 2013 07:45:28 +0000 (07:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2013 14:31:16 +0000 (10:31 -0400)
commit58d7d8f9b20ee6f883532b952f246e4289fe06eb
tree9d57be6839dd056ab37a63043ae871d36e0cf548
parent9b924dbd5e903aa6394ff6feee8275b9bde313d1
decnet: Parse netlink attributes on our own

decnet is the only subsystem left that is relying on the global
netlink attribute buffer rta_buf. It's horrible design and we
want to get rid of it.

This converts all of decnet to do implicit attribute parsing. It
also gets rid of the error prone struct dn_kern_rta.

Yes, the fib_magic() stuff is not pretty.

It's compiled tested but I need someone with appropriate hardware
to test the patch since I don't have access to it.

Cc: linux-decnet-user@lists.sourceforge.net
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dn_fib.h
net/decnet/dn_fib.c
net/decnet/dn_route.c
net/decnet/dn_table.c
This page took 0.046261 seconds and 5 git commands to generate.