]> git.baikalelectronics.ru Git - kernel.git/commit
net: dcb: fix small regression in __dcbnl_pg_setcfg()
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 20 Jun 2012 19:56:21 +0000 (19:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jun 2012 22:06:00 +0000 (15:06 -0700)
commit0626ed6a49b0802e98ad37e8c7909eed8f2d8e74
treec99e17b49d9f0a95720a1300d12dd0279f0cdbf2
parentc28e048094c3bb047185ea4ff1a857e32f053b17
net: dcb: fix small regression in __dcbnl_pg_setcfg()

A small regression was introduced in the reply command of
dcbnl_pg_setcfg(). User space apps may be expecting the
DCB_ATTR_PG_CFG attribute to be returned with the patch
below TX or RX variants are returned.

commit fa89b7431f61c2077c03cc577607bbd5b5f10745
Author: Thomas Graf <tgraf@suug.ch>
Date:   Wed Jun 13 02:54:55 2012 +0000

    dcbnl: Shorten all command handling functions

This patch reverts this behavior and returns DCB_ATTR_PG_CFG

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c