summaryrefslogtreecommitdiffstats
path: root/net/iucv
diff options
context:
space:
mode:
authorUrsula Braun <ursula.braun@de.ibm.com>2011-12-19 22:56:27 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-20 14:05:03 -0500
commitc64d3f8f59367e89e83582b50bf072474ba2abff (patch)
tree7ceb0543ed5c72ed843612f38c8b01d44e1ea189 /net/iucv
parentef0002b577b52941fb147128f30bd1ecfdd3ff6d (diff)
downloadop-kernel-dev-c64d3f8f59367e89e83582b50bf072474ba2abff.zip
op-kernel-dev-c64d3f8f59367e89e83582b50bf072474ba2abff.tar.gz
af_iucv: support ancillary data with HS transport
The AF_IUCV address family offers support for ancillary data. This patch enables usage of ancillary data with the new HiperSockets transport. 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>
Diffstat (limited to 'net/iucv')
-rw-r--r--net/iucv/af_iucv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index 274d150..f4ad720 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -2209,6 +2209,8 @@ static int afiucv_hs_rcv(struct sk_buff *skb, struct net_device *dev,
break;
case 0:
/* plain data frame */
+ memcpy(CB_TRGCLS(skb), &trans_hdr->iucv_hdr.class,
+ CB_TRGCLS_LEN);
err = afiucv_hs_callback_rx(sk, skb);
break;
default:
OpenPOWER on IntegriCloud