Commit 3c8ffcd
ipv6: use RCU protection in ip6_default_advmss()
ip6_default_advmss() needs rcu protection to make
sure the net structure it reads does not disappear.
Fixes: 5578689 ("[NETNS][IPV6] route6 - make route6 per namespace")
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent afec62c commit 3c8ffcd
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3196 | 3196 | | |
3197 | 3197 | | |
3198 | 3198 | | |
3199 | | - | |
| 3199 | + | |
3200 | 3200 | | |
3201 | 3201 | | |
3202 | 3202 | | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
3203 | 3206 | | |
3204 | 3207 | | |
3205 | 3208 | | |
| 3209 | + | |
| 3210 | + | |
3206 | 3211 | | |
3207 | 3212 | | |
3208 | 3213 | | |
| |||
0 commit comments