diff options
| author | Mahesh Bandewar <[email protected]> | 2016-04-27 14:59:27 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-04-28 17:23:08 -0400 |
| commit | 494e8489db50157637d146ee377991ed6f0018f1 (patch) | |
| tree | b4caedab38388527503bb7d2ddeb857774411b81 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 222e4d0b13c674b28a562d67c270367d45d0a53d (diff) | |
ipvlan: Fix failure path in dev registration during link creation
When newlink creation fails at device-registration, the port->count
is decremented twice. Francesco Ruggeri ([email protected]) found
this issue in Macvlan and the same exists in IPvlan driver too.
While fixing this issue I noticed another issue of missing unregister
in case of failure, so adding it to the fix which is similar to the
macvlan fix by Francesco in commit 308379607548 ("macvlan: fix failure
during registration v3")
Reported-by: Francesco Ruggeri <[email protected]>
Signed-off-by: Mahesh Bandewar <[email protected]>
CC: Eric Dumazet <[email protected]>
CC: Eric W. Biederman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions