/* Specify TTL for outgoing multicasts on a sending socket  */
static void set_mcast_ttl(struct sock *sk, u_char ttl)
/* Specify TTL for outgoing multicasts on a sending socket  */
static void set_mcast_ttl(struct sock *sk, u_char ttl)
{
	struct inet_sock *inet = inet_sk(sk);
	lock_sock(sk);
	inet->mc_ttl = ttl;
	release_sock(sk);
}