|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.111, 2005/05/08 18:44:39 | version 1.112, 2005/10/21 17:40:03 | ||
|---|---|---|---|
|
|
||
| error = EINVAL; | error = EINVAL; | ||
| goto bad; | goto bad; | ||
| } | } | ||
| if (mtod(m, struct linger *)->l_linger < 0 || | |||
| mtod(m, struct linger *)->l_linger > (INT_MAX / hz)) { | |||
| error = EDOM; | |||
| goto bad; | |||
| } | |||
| so->so_linger = mtod(m, struct linger *)->l_linger; | so->so_linger = mtod(m, struct linger *)->l_linger; | ||
| /* fall thru... */ | /* fall thru... */ | ||