summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-03-29 14:46:49 +0100
committerJesse Gross <jesse@nicira.com>2013-03-30 01:53:57 +0100
commitc3ff8cfe3e7748a93c4815b76e464d54c7efd241 (patch)
tree4526700f7eda3334516e16076c0917c1bae5fbac /lib
parentopenvswitch: Use nla_memcpy() to memcpy() data from attributes (diff)
downloadlinux-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 'lib')
0 files changed, 0 insertions, 0 deletions