diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2014-10-19 19:03:40 (GMT) |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-11-06 07:52:35 (GMT) |
commit | a85311bf1f9f8185682990cafdd4e0572c0ed373 (patch) | |
tree | ff8b3d0e0d3a7da142d371ade5a5bb9c065cd07b /Kbuild | |
parent | 2fdb957d634a906ae8939bff23d45968307acbf7 (diff) | |
download | linux-a85311bf1f9f8185682990cafdd4e0572c0ed373.tar.xz |
openvswitch: Avoid NULL mask check while building mask
OVS does mask validation even if it does not need to convert
netlink mask attributes to mask structure. ovs_nla_get_match()
caller can pass NULL mask structure pointer if the caller does
not need mask. Therefore NULL check is required in SW_FLOW_KEY*
macros. Following patch does not convert mask netlink attributes
if mask pointer is NULL, so we do not need these checks in
SW_FLOW_KEY* macro.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Andy Zhou <azhou@nicira.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions