| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 2.6] compat_sys_[gs]etsockopt need to check for level |
| From: | Olaf Kirch <okir@xxxxxxx> |
| Date: | Mon, 24 May 2004 13:33:31 +0200 |
| Cc: | meissner@xxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4i |
The 32bit emulation functions for setsockopt/getsockopt try to catch a few special cases by looking at the option name, without checking for the option level. This breaks IPV6_V6ONLY and probably a few others. The bug was found by Marcus Meissner. I hope I got the level for IPT_SO_SET_REPLACE right (I think it's SOL_IP). I would appreciate if someone could double-check. Cheers, Olaf -- Olaf Kirch | The Hardware Gods hate me. okir@xxxxxxx | ---------------+
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Kernel BUG: Qos seg. fault, Jaume Catarineu |
|---|---|
| Next by Date: | Re: IPSec Oops when deleting an ip address, Herbert Xu |
| Previous by Thread: | Kernel BUG: Qos seg. fault, Jaume Catarineu |
| Next by Thread: | [IPSEC] Use add_timer instead of mod_timer in find_acq, Herbert Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |