Skip to content
Commit 4f47d5d5 authored by Poorva Sonparote's avatar Poorva Sonparote Committed by David S. Miller
Browse files

ipv4: Exposing __ip_sock_set_tos() in ip.h



Making the static function __ip_sock_set_tos() from net/ipv4/ip_sockglue.c
accessible by declaring it in include/net/ip.h
The reason for doing this is to use this function to set IP_TOS value in
mptcp_setsockopt() without the lock.

Signed-off-by: default avatarPoorva Sonparote <psonparo@redhat.com>
Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 979594c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment