commit | 5dba93aedfc6906b27791c4a1136b177beae25b7 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.r.fastabend@intel.com> | Fri Sep 25 13:11:44 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Sep 26 20:16:11 2009 -0700 |
tree | 2d2493187f430245110bd640c8a5c990aaf865d7 | |
parent | fc482cc54e56bde012585905eb0f3565bec18ff5 [diff] |
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>