forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
33a03aadb5
commit
7be994138b
722
net/dcb/dcbnl.c
722
net/dcb/dcbnl.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user