commit | 7be994138b188387691322921c08e19bddf6d3c5 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Wed Jun 13 02:54:55 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 13 15:46:34 2012 -0700 |
tree | 8feb79621dd688e80573a8b5ebc3703e613086af | |
parent | 33a03aadb52fa05d28aba6d8f0c03c7b3b905897 [diff] |
dcbnl: Shorten all command handling functions 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>