diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2009-09-25 13:11:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-26 20:16:11 -0700 |
commit | 5dba93aedfc6906b27791c4a1136b177beae25b7 (patch) | |
tree | 2d2493187f430245110bd640c8a5c990aaf865d7 /net/dcb | |
parent | fc482cc54e56bde012585905eb0f3565bec18ff5 (diff) | |
download | linux-5dba93aedfc6906b27791c4a1136b177beae25b7.tar.gz linux-5dba93aedfc6906b27791c4a1136b177beae25b7.tar.bz2 linux-5dba93aedfc6906b27791c4a1136b177beae25b7.zip |
net: fix nlmsg len size for skb when error bit is set.
Currently, the nlmsg->len field is not set correctly in netlink_ack()
for ack messages that include the nlmsg of the error frame. This
corrects the length field passed to __nlmsg_put to use the correct
payload size.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions