From: Ursula Braun Date: Mon, 19 Dec 2011 22:56:27 +0000 (+0000) Subject: af_iucv: support ancillary data with HS transport X-Git-Tag: v3.12-rc1~4160^2~157 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c64d3f8f59367e89e83582b50bf072474ba2abff;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Frank Blaschka Signed-off-by: David S. Miller --- 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: