diff options
author | Patrik Nyblom <[email protected]> | 2011-01-27 12:11:23 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2011-02-21 15:13:02 +0100 |
commit | 3c10f18499b9b3f713ac48ca5973869778cf4df9 (patch) | |
tree | 673c3a7441c0ff05798a89e169ec52992b49c088 /erts/lib_src | |
parent | c478e3fda9b244fe49da78e6a64021b40a792688 (diff) | |
download | otp-3c10f18499b9b3f713ac48ca5973869778cf4df9.tar.gz otp-3c10f18499b9b3f713ac48ca5973869778cf4df9.tar.bz2 otp-3c10f18499b9b3f713ac48ca5973869778cf4df9.zip |
Add patch from Per Hedeland
Per H @ Tail-f: The original code here had problems that possibly
only occur if you abuse it for non-INET sockets, but anyway:
a) If the getsockopt for SO_PRIORITY or IP_TOS failed, the actual
requested setsockopt was never even attempted.
b) If {get,set}sockopt for one of IP_TOS and SO_PRIORITY failed,
but ditto for the other worked and that was actually the requested
option, failure was still reported to erlang.
Diffstat (limited to 'erts/lib_src')
0 files changed, 0 insertions, 0 deletions