Add a command line option -R to specify SO_PRIORITY socket option. This
then sets priority of the generated SKBs, which is handy for testing Qdiscs
and other priority-dependent functionality.
Signed-off-by: Petr Machata
---
mausezahn.8 | 6 ++
staging/layer3.c| 9
This option is mentioned further in the man page, but is omitted in the
main section. Add it.
Signed-off-by: Petr Machata
---
mausezahn.8 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mausezahn.8 b/mausezahn.8
index 44a76ab..8379111 100644
--- a/mausezahn.8
+++ b/mausezahn.8
@@ -98,6
CMP_INT evaluates its arguments more than once, and thus passing a
post-incremented pointer as an argument causes double increments and
hence buffer overruns. This can be observed by erratic behavior of IPv6
address ranges. Fix by moving the increment to loop header.
Signed-off-by: Petr Machata