]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30ee9451ea5610ddc26ff6e6c1cbb048b4f76f64
tree9d57be6839dd056ab37a63043ae871d36e0cf548
parent3ffa03e3beb9cc67dedf73b2324c463c8aada31a
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