aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorHangbin Liu <[email protected]>2021-12-10 16:59:59 +0800
committerDavid S. Miller <[email protected]>2021-12-14 12:28:24 +0000
commit085d61000845188a9aa9a9524f13a0622a1380d7 (patch)
treed0589dd9852ae75573cf70f53e0d920bdeb63eb2 /tools/perf/scripts/python/futex-contention.py
parent9c9211a3fc7aa41b2952765b62000443b3bb6f23 (diff)
Bonding: force user to add HWTSTAMP_FLAG_BONDED_PHC_INDEX when get/set HWTSTAMP
When there is a failover, the PHC index of bond active interface will be changed. This may break the user space program if the author didn't aware. By setting this flag, the user should aware that the PHC index get/set by syscall is not stable. And the user space is able to deal with it. Without this flag, the kernel will reject the request forwarding to bonding. Reported-by: Jakub Kicinski <[email protected]> Fixes: 94dd016ae538 ("bond: pass get_ts_info and SIOC[SG]HWTSTAMP ioctl to active device") Signed-off-by: Hangbin Liu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions