]> git.baikalelectronics.ru Git - kernel.git/commit
dcbnl: Prepare framework to shorten handling functions
authorThomas Graf <tgraf@suug.ch>
Wed, 13 Jun 2012 02:54:54 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jun 2012 22:46:34 +0000 (15:46 -0700)
commit15a39ce136779364a5fedda8f62a97e6664c5c73
tree4e8fdc1321d516c9a297ece6babde6f164475c80
parentb17b49e7ec824e9d7f3fd72a9569beacdcb8489c
dcbnl: Prepare framework to shorten handling functions

There is no need to allocate and send the reply message in each
handling function separately. Instead, the reply skb can be allocated
and sent in dcb_doit() directly.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c