diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2011-12-19 17:56:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-20 14:05:03 -0500 |
commit | c64d3f8f59367e89e83582b50bf072474ba2abff (patch) | |
tree | 7ceb0543ed5c72ed843612f38c8b01d44e1ea189 /net/iucv/af_iucv.c | |
parent | ef0002b577b52941fb147128f30bd1ecfdd3ff6d (diff) |
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/af_iucv.c')
-rw-r--r-- | net/iucv/af_iucv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index 274d150320c0..f4ad720ea618 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, | |||
2209 | break; | 2209 | break; |
2210 | case 0: | 2210 | case 0: |
2211 | /* plain data frame */ | 2211 | /* plain data frame */ |
2212 | memcpy(CB_TRGCLS(skb), &trans_hdr->iucv_hdr.class, | ||
2213 | CB_TRGCLS_LEN); | ||
2212 | err = afiucv_hs_callback_rx(sk, skb); | 2214 | err = afiucv_hs_callback_rx(sk, skb); |
2213 | break; | 2215 | break; |
2214 | default: | 2216 | default: |