bridge: vlan_tunnel: explicitly reset metadata attrs to NULL on failure
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 16 Feb 2017 19:29:21 +0000 (11:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 18:33:41 +0000 (13:33 -0500)
commitafcb50ba7f745eea32f91d7f63d6aa88f929f9c4
tree5a49e4394d0a6f9290c09864eaf23f2c27438e7f
parent6850f8b50928463213532d7812b74161d31d3cbd
bridge: vlan_tunnel: explicitly reset metadata attrs to NULL on failure

Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support")
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan_tunnel.c