diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-03-29 14:46:49 +0100 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-03-30 01:53:57 +0100 |
commit | c3ff8cfe3e7748a93c4815b76e464d54c7efd241 (patch) | |
tree | 4526700f7eda3334516e16076c0917c1bae5fbac /scripts | |
parent | openvswitch: Use nla_memcpy() to memcpy() data from attributes (diff) | |
download | linux-c3ff8cfe3e7748a93c4815b76e464d54c7efd241.tar.xz linux-c3ff8cfe3e7748a93c4815b76e464d54c7efd241.zip |
openvswitch: Refine Netlink message size calculation and kill FLOW_BUFSIZE
Kills the FLOW_BUFSIZE constant which needs to be calculated manually
and replaces it with key_attr_size() based on nla_total_size().
Calculates the size of datapath messages instead of relying on
NLMSG_DEFAULT_SIZE and moves the existing message size calculations
into own functions for clarity.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions