]> git.baikalelectronics.ru Git - kernel.git/commit
af_iucv: allow retrieval of maximum message size
authorUrsula Braun <ursula.braun@de.ibm.com>
Wed, 8 Feb 2012 00:19:48 +0000 (00:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Feb 2012 23:50:19 +0000 (18:50 -0500)
commita499ad94c43f7fe00b290d17c2cf037ac80c410f
treeea8b4278a7a5115ee848bac4b33e5f0f44369488
parent4b2e957ef21d39b9199e64255677a623e75a1d83
af_iucv: allow retrieval of maximum message size

For HS transport the maximum message size depends on the MTU-size
of the HS-device bound to the AF_IUCV socket. This patch adds a
getsockopt option MSGSIZE returning the maximum message size that
can be handled for this AF_IUCV socket.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/iucv/af_iucv.h
net/iucv/af_iucv.c