Quoting YOSHIFUJI Hideaki:
|
| > [TCP]: break missing at end of switch statement
| >
| > Signed-off-by: Gerrit Renker <[EMAIL PROTECTED]>
| > ---
| > --- a/net/ipv4/tcp_input.c
| > +++ b/net/ipv4/tcp_input.c
| > @@ -3129,6 +3129,7 @@ static void tcp_reset(struct sock *sk)
| > return;
| > default:
| > sk->sk_err = ECONNRESET;
| > + break;
| > }
| >
| > if (!sock_flag(sk, SOCK_DEAD))
|
| NAK; it is not required at all.
|
| --yoshfuji
|
If it were true what you are saying then the statement
`sk->sk_err = ECONNRESET;'
can go as well since it will always be overridden.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html