Skip to content

Commit

Permalink
dcbnl: Shorten all command handling functions
Browse files Browse the repository at this point in the history
Allocating and sending the skb in dcb_doit() allows for much
shorter and cleaner command handling functions.

The huge switch statement is replaced with an array based definition
of the handling function and reply message type.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Thomas Graf authored and David S. Miller committed Jun 13, 2012
1 parent 33a03aa commit 7be9941
Showing 1 changed file with 172 additions and 550 deletions.
Loading

0 comments on commit 7be9941

Please sign in to comment.