Commit 3eca692
committed
linux: print a better message for "out of memory" errors for kernel filters.
If attempting to set a kernel filter gets ENOMEM, print a message
suggesting that they increase the value of the net.core.optmem_max
sysctl.
See GitHub issue #1089 for an example of a complicated but not too
complicated filter that exceeds the default "other/option memory per
socket" maximum.1 parent 9d928eb commit 3eca692
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4410 | 4410 | | |
4411 | 4411 | | |
4412 | 4412 | | |
4413 | | - | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
| 4420 | + | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
| 4424 | + | |
4414 | 4425 | | |
4415 | 4426 | | |
4416 | 4427 | | |
| |||
0 commit comments