openvswitch: Refine Netlink message size calculation and kill FLOW_BUFSIZE
authorThomas Graf <tgraf@suug.ch>
Fri, 29 Mar 2013 13:46:49 +0000 (14:46 +0100)
committerJesse Gross <jesse@nicira.com>
Sat, 30 Mar 2013 00:53:57 +0000 (17:53 -0700)
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>

No differences found