Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2e5c4c0 authored by Dave Jones's avatar Dave Jones Committed by David S. Miller
Browse files

tcp: Add missing braces to do_tcp_setsockopt

parent 0c1db731
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2454,10 +2454,11 @@ static int do_tcp_setsockopt(struct sock *sk, int level,
	case TCP_THIN_DUPACK:
		if (val < 0 || val > 1)
			err = -EINVAL;
		else
		else {
			tp->thin_dupack = val;
			if (tp->thin_dupack)
				tcp_disable_early_retrans(tp);
		}
		break;

	case TCP_REPAIR: