diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2014-10-19 12:03:40 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-11-05 23:52:35 -0800 |
commit | a85311bf1f9f8185682990cafdd4e0572c0ed373 (patch) | |
tree | ff8b3d0e0d3a7da142d371ade5a5bb9c065cd07b /net/ipv6 | |
parent | 2fdb957d634a906ae8939bff23d45968307acbf7 (diff) | |
download | op-kernel-dev-a85311bf1f9f8185682990cafdd4e0572c0ed373.zip op-kernel-dev-a85311bf1f9f8185682990cafdd4e0572c0ed373.tar.gz |
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 'net/ipv6')
0 files changed, 0 insertions, 0 deletions