commit | c3ff8cfe3e7748a93c4815b76e464d54c7efd241 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Fri Mar 29 14:46:49 2013 +0100 |
committer | Jesse Gross <jesse@nicira.com> | Fri Mar 29 17:53:57 2013 -0700 |
tree | 4526700f7eda3334516e16076c0917c1bae5fbac | |
parent | 32686a9d2988516788cfcc402e1355c1eba1186a [diff] |
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>