summaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_net.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-06-13 04:54:55 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-14 00:46:34 +0200
commit7be994138b188387691322921c08e19bddf6d3c5 (patch)
tree8feb79621dd688e80573a8b5ebc3703e613086af /fs/proc/proc_net.c
parentdcbnl: Prepare framework to shorten handling functions (diff)
downloadlinux-7be994138b188387691322921c08e19bddf6d3c5.tar.xz
linux-7be994138b188387691322921c08e19bddf6d3c5.zip
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>
Diffstat (limited to 'fs/proc/proc_net.c')
0 files changed, 0 insertions, 0 deletions