diff options
| author | Haishuang Yan <[email protected]> | 2016-11-29 01:59:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-30 17:02:49 +0000 |
| commit | 17b463654f41f0aa334efd5a6efeab8a6e9496f7 (patch) | |
| tree | 904c2339d7ca7ac71441c8fb66f3c3262b2c62c8 /lib/debugobjects.c | |
| parent | openvswitch: Fix skb leak in IPv6 reassembly. (diff) | |
| download | kernel-17b463654f41f0aa334efd5a6efeab8a6e9496f7.tar.gz kernel-17b463654f41f0aa334efd5a6efeab8a6e9496f7.zip | |
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 <[email protected]>
Changes in v2:
- Unnecessary to initialize rc to zero.
Acked-by: Jiri Benc <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
