Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bonding: force user to add HWTSTAMP_FLAG_BONDED_PHC_INDEX when get/se…
…t 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: 94dd016 ("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]>
- Loading branch information