summaryrefslogtreecommitdiff
path: root/drivers/amba
diff options
context:
space:
mode:
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>2016-11-29 01:59:36 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-11-30 17:02:49 (GMT)
commit17b463654f41f0aa334efd5a6efeab8a6e9496f7 (patch)
tree904c2339d7ca7ac71441c8fb66f3c3262b2c62c8 /drivers/amba
parentf92a80a9972175a6a1d36c6c44be47fb0efd020d (diff)
downloadlinux-17b463654f41f0aa334efd5a6efeab8a6e9496f7.tar.xz
vxlan: fix a potential issue when create a new vxlan fdb entry.
vxlan_fdb_append may return error, so add the proper check, otherwise it will cause memory leak. Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Changes in v2: - Unnecessary to initialize rc to zero. Acked-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions