summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2019-08-23 15:44:36 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-23 14:53:06 -0700
commitdb0b99f59ae4d934a0af1a5670706d7c2a4b58ea (patch)
tree11cc0a21304ce96d19de749604a84324ff52cf25 /tools/perf/scripts/python/exported-sql-viewer.py
parentf6edbf2d616435cda7823942c20005ce198e97c8 (diff)
ipv6: propagate ipv6_add_dev's error returns out of ipv6_find_idev
Currently, ipv6_find_idev returns NULL when ipv6_add_dev fails, ignoring the specific error value. This results in addrconf_add_dev returning ENOBUFS in all cases, which is unfortunate in cases such as: # ip link add dummyX type dummy # ip link set dummyX mtu 1200 up # ip addr add 2000::/64 dev dummyX RTNETLINK answers: No buffer space available Commit a317a2f19da7 ("ipv6: fail early when creating netdev named all or default") introduced error returns in ipv6_add_dev. Before that, that function would simply return NULL for all failures. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions