diff options
| author | Nicolai Buchwitz <nb@tipi-net.de> | 2026-10-02 11:42:09 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-05 17:05:37 -0700 |
| commit | 810a662abcd56509db2db3e385a6979a0d5cf021 (patch) | |
| tree | 06701293da0f45455bfd9d2fa667ec969bfc4df3 /include/linux/timerqueue.h | |
| parent | 05fe748456ea1c276c666f462f1b41882e0179ef (diff) | |
net: reject a netdev that implements only one hwtstamp NDO
ndo_hwtstamp_get and ndo_hwtstamp_set only make sense as a pair. A
driver providing just one gets no complaint today, and the mismatch
turns up in user space, where a set can succeed while the matching get
fails.
Catch it at registration instead.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Link: https://patch.msgid.link/20261002094211.2350702-4-nb@tipi-net.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
