Add SO_BINDTOIFINDEX constant to socket module #104061
Labels
3.13
bugs and security fixes
extension-modules
C modules in the Modules dir
type-feature
A feature request or enhancement
Feature or enhancement
Since Linux 5.0 socket option
SO_BINDTOIFINDEX
is available to avoid a race condition betweenSO_BINDTODEVICE
and network interface renaming. Add this constant toModules/socketmodule.c
if available.Pitch
I will shamelessly steal David Herrmann's reasoning in his proposal to add
SO_BINDTOIFINDEX
to the Linux kernel:Previous discussion
I have not discussed this addition. It looks like similar additions, like #100813 or #91968, were not discussed outside of Github either.
Linked PRs
The text was updated successfully, but these errors were encountered: