* [Bug 35852] New: SO_PRIORITY does not set TOS field in IP header @ 2011-05-25 22:58 bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r [not found] ` <bug-35852-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/> 0 siblings, 1 reply; 4+ messages in thread From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2011-05-25 22:58 UTC (permalink / raw) To: linux-man-u79uwXL29TY76Z2rM5mHXA https://bugzilla.kernel.org/show_bug.cgi?id=35852 URL: http://www.kernel.org/doc/man-pages/online/pages/man7/ socket.7.html Summary: SO_PRIORITY does not set TOS field in IP header Product: Documentation Version: unspecified Kernel Version: n/a Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: man-pages AssignedTo: documentation_man-pages-ztI5WcYan/vQLgFONoPN62D2FQJk+8+b@public.gmane.org ReportedBy: advaitdixit-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org Regression: No The socket man page says that setsockopt with level=SOL_SOCKET and optname=SO_PRIORITY sets the TOS field in IP header: http://www.kernel.org/doc/man-pages/online/pages/man7/socket.7.html However, my experiments and other web search results suggest that the socket man page is wrong. SO_PRIORITY does not seem to set the TOS field in the IP header. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <bug-35852-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/>]
* [Bug 35852] SO_PRIORITY does not set TOS field in IP header [not found] ` <bug-35852-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/> @ 2014-06-25 15:57 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2015-05-05 19:24 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2015-05-06 8:50 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2014-06-25 15:57 UTC (permalink / raw) To: linux-man-u79uwXL29TY76Z2rM5mHXA https://bugzilla.kernel.org/show_bug.cgi?id=35852 xerofoify-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerofoify-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- Comment #1 from xerofoify-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- This bug is against a old man pages. Please check with a newer verison. Nick -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 35852] SO_PRIORITY does not set TOS field in IP header [not found] ` <bug-35852-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/> 2014-06-25 15:57 ` [Bug 35852] " bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2015-05-05 19:24 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2015-05-06 8:50 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2015-05-05 19:24 UTC (permalink / raw) To: linux-man-u79uwXL29TY76Z2rM5mHXA https://bugzilla.kernel.org/show_bug.cgi?id=35852 Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Resolution|--- |CODE_FIX --- Comment #2 from Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- (In reply to advaitdixit from comment #0) > The socket man page says that setsockopt with level=SOL_SOCKET and > optname=SO_PRIORITY sets the TOS field in IP header: > http://www.kernel.org/doc/man-pages/online/pages/man7/socket.7.html > > However, my experiments and other web search results suggest that the socket > man page is wrong. SO_PRIORITY does not seem to set the TOS field in the IP > header. A quick scan of the kernel source also finds nothing to suggest that SO_PRIORITY sets the TOS field in the IP header. Various URLs question this text in teh man page http://mailman.isi.edu/pipermail/ns-developers/2012-September/010638.html https://athena.ecs.csus.edu/~bransone/pub/misc/netfilter_notes/qos https://ocrete.ca/2009/07/24/when-a-man-page-lies/ http://lkml.iu.edu/hypermail/linux/net/0512.3/0008.html So, I'll remove this text from socket(7) (and also similar text in ip(7)), and close this bug. Thanks. -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 35852] SO_PRIORITY does not set TOS field in IP header [not found] ` <bug-35852-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/> 2014-06-25 15:57 ` [Bug 35852] " bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2015-05-05 19:24 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2015-05-06 8:50 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2 siblings, 0 replies; 4+ messages in thread From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2015-05-06 8:50 UTC (permalink / raw) To: linux-man-u79uwXL29TY76Z2rM5mHXA https://bugzilla.kernel.org/show_bug.cgi?id=35852 --- Comment #3 from Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- And one more URL that questioned the effect of SO_PRIORITY on IP TOS: http://thread.gmane.org/gmane.linux.man/2074 -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-06 8:50 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-05-25 22:58 [Bug 35852] New: SO_PRIORITY does not set TOS field in IP header bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r [not found] ` <bug-35852-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/> 2014-06-25 15:57 ` [Bug 35852] " bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2015-05-05 19:24 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r 2015-05-06 8:50 ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.