Neil Horman
408f22e81e
SCTP: update sctp_getsockopt helpers to allow oversized buffers
...
I noted the other day while looking at a bug that was ostensibly
in some perl networking library, that we strictly avoid allowing getsockopt
operations to complete if we pass in oversized buffers. This seems to make
libraries like Perl::NET malfunction since it seems to allocate oversized
buffers for use in several operations. It also seems to be out of line with
the way udp, tcp and ip getsockopt routines handle buffer input (since the
*optlen pointer in both an input and an output and gets set to the length
of the data that we copy into the buffer). This patch brings our getsockopt
helpers into line with other protocols, and allows us to accept oversized
buffers for our getsockopt operations. Tested by me with good results.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
2007-06-19 09:46:34 -04:00
..
802
8021q
[NET]: Fix comparisons of unsigned < 0.
2007-06-03 18:08:47 -07:00
appletalk
atm
ax25
[S390] Kconfig: unwanted menus for s390.
2007-05-10 15:46:07 +02:00
bluetooth
[Bluetooth] Fix L2CAP configuration parameter handling
2007-05-24 14:27:19 +02:00
bridge
[BRIDGE]: Round off STP perodic timers.
2007-05-31 01:23:39 -07:00
core
[NET]: Avoid duplicate netlink notification when changing link state
2007-06-07 13:40:56 -07:00
dccp
[NET]: Fix comparisons of unsigned < 0.
2007-06-03 18:08:47 -07:00
decnet
[NETLINK]: Mark netlink policies const
2007-06-07 13:40:10 -07:00
econet
ethernet
ieee80211
[PATCH] softmac: alloc_ieee80211() NULL check
2007-05-29 11:16:35 -04:00
ipv4
[IPVS]: Fix state variable on failure to start ipvs threads
2007-06-18 22:33:20 -07:00
ipv6
[IPV6] addrconf: Fix IPv6 on tuntap tunnels
2007-06-14 13:02:55 -07:00
ipx
Fix incorrect prototype for ipxrtr_route_packet()
2007-05-17 05:25:49 -07:00
irda
[IrDA]: f-timer reloading when sending rejected frames.
2007-06-08 19:15:56 -07:00
iucv
Add suspend-related notifications for CPU hotplug
2007-05-09 12:30:56 -07:00
key
xfrm: Add security check before flushing SAD/SPD
2007-06-07 13:42:46 -07:00
lapb
llc
mac80211
[PATCH] mac80211: Don't stop tx queue on master device while scanning.
2007-06-11 20:29:11 -04:00
netfilter
[NETFILTER]: nf_conntrack_amanda: fix textsearch_prepare() error check
2007-06-07 13:40:38 -07:00
netlabel
[NetLabel]: consolidate the struct socket/sock handling to just struct sock
2007-06-08 13:33:09 -07:00
netlink
[NETLINK]: Mark netlink policies const
2007-06-07 13:40:10 -07:00
netrom
packet
[AF_PACKET]: Kill CONFIG_PACKET_SOCKET.
2007-05-31 01:23:32 -07:00
rfkill
[RFKILL]: Fix check for correct rfkill allocation
2007-05-19 12:24:39 -07:00
rose
rxrpc
[AF_RXRPC]: Return the number of bytes buffered in rxrpc_send_data()
2007-06-18 23:30:41 -07:00
sched
[NET_SCHED]: Fix filter double free
2007-06-07 13:41:05 -07:00
sctp
SCTP: update sctp_getsockopt helpers to allow oversized buffers
2007-06-19 09:46:34 -04:00
sunrpc
Merge branch 'master' of /home/trondmy/repositories/git/linux-2.6/
2007-05-17 11:36:59 -04:00
tipc
[TIPC]: Fixed erroneous introduction of for_each_netdev
2007-05-24 16:36:54 -07:00
unix
[AF_UNIX]: Fix stream recvmsg() race.
2007-06-07 13:40:44 -07:00
wanrouter
[NET]: Fix comparisons of unsigned < 0.
2007-06-03 18:08:47 -07:00
wireless
[PATCH] cfg80211: fix signed macaddress in sysfs
2007-06-11 17:47:41 -04:00
x25
xfrm
[XFRM]: Fix MTU calculation for non-ESP SAs
2007-06-18 22:30:15 -07:00
compat.c
Kconfig
[S390] Kconfig: no wireless on s390.
2007-05-10 15:46:08 +02:00
Makefile
nonet.c
socket.c
Remove SLAB_CTOR_CONSTRUCTOR
2007-05-17 05:23:04 -07:00
sysctl_net.c
TUNABLE