Commit c64d3f8f59367e89e83582b50bf072474ba2abff

Authored by Ursula Braun
Committed by David S. Miller
1 parent ef0002b577

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -2209,6 +2209,8 @@
2209 2209 break;
2210 2210 case 0:
2211 2211 /* plain data frame */
  2212 + memcpy(CB_TRGCLS(skb), &trans_hdr->iucv_hdr.class,
  2213 + CB_TRGCLS_LEN);
2212 2214 err = afiucv_hs_callback_rx(sk, skb);
2213 2215 break;
2214 2216 default: