diff options
| author | 2025-10-29 11:45:39 -0700 | |
|---|---|---|
| committer | 2025-10-31 15:55:32 -0700 | |
| commit | 6ab753b5d8e521616cd9bd10b09891cbeb7e0235 (patch) | |
| tree | 3426b911a3a24d85ac2792b3ab8667c8fea03a52 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge tag 'for-net-2025-10-31' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth (diff) | |
| download | wireguard-linux-6ab753b5d8e521616cd9bd10b09891cbeb7e0235.tar.xz wireguard-linux-6ab753b5d8e521616cd9bd10b09891cbeb7e0235.zip | |
gve: Implement gettimex64 with -EOPNOTSUPP
gve implemented a ptp_clock for sole use of do_aux_work at this time.
ptp_clock_gettime() and ptp_sys_offset() assume every ptp_clock has
implemented either gettimex64 or gettime64. Stub gettimex64 and return
-EOPNOTSUPP to prevent NULL dereferencing.
Fixes: acd16380523b ("gve: Add initial PTP device support")
Reported-by: syzbot+c8c0e7ccabd456541612@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=c8c0e7ccabd456541612
Signed-off-by: Tim Hostetler <thostet@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Joshua Washington <joshwash@google.com>
Link: https://patch.msgid.link/20251029184555.3852952-2-joshwash@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
