Commit fe844bf
Leave nlmsg_pid at 0 for netlink multicast
Multicast messages from the kernel have nlmsg_pid=0.
Unicast messages from the kernel have nlmsg_pid as the socket's pid.
Multicast messages from userland have whatever nlmsg_pid set by the app.
PiperOrigin-RevId: 8368049501 parent 2a3e16f commit fe844bf
File tree
2 files changed
+9
-2
lines changed- pkg/sentry/socket/netlink
- test/syscalls/linux
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
| 418 | + | |
418 | 419 | | |
419 | 420 | | |
420 | 421 | | |
| |||
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
429 | | - | |
| 430 | + | |
| 431 | + | |
430 | 432 | | |
431 | 433 | | |
432 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1958 | 1958 | | |
1959 | 1959 | | |
1960 | 1960 | | |
| 1961 | + | |
1961 | 1962 | | |
1962 | 1963 | | |
1963 | 1964 | | |
| |||
2040 | 2041 | | |
2041 | 2042 | | |
2042 | 2043 | | |
| 2044 | + | |
2043 | 2045 | | |
2044 | 2046 | | |
2045 | 2047 | | |
| |||
2065 | 2067 | | |
2066 | 2068 | | |
2067 | 2069 | | |
| 2070 | + | |
2068 | 2071 | | |
2069 | 2072 | | |
2070 | 2073 | | |
| |||
2232 | 2235 | | |
2233 | 2236 | | |
2234 | 2237 | | |
| 2238 | + | |
| 2239 | + | |
2235 | 2240 | | |
2236 | 2241 | | |
2237 | 2242 | | |
| |||
0 commit comments