Skip to content

Commit

Permalink
datapath-windows: ovsext.inf: Add PnpLockdown to the driver info file.
Browse files Browse the repository at this point in the history
While compiling with the latest WDK/SDK 10.0.26100.1, MSVC complains:
  error 1324: [Version] section should specify PnpLockdown=1 to prevent
              external apps from modifying installed driver files.

Add PnpLockdown = 1.

More information:
https://learn.microsoft.com/en-us/windows-hardware/drivers/install/inf-version-section

Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
  • Loading branch information
Alin Gabriel Serdean authored and igsilya committed Aug 21, 2024
1 parent 19d809a commit f5d5341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datapath-windows/ovsext/ovsext.inf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[version]
Signature = "$Windows NT$"
PnpLockdown = 1
Class = NetService
ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider = %OVS%
Expand Down

0 comments on commit f5d5341

Please sign in to comment.