aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorMalcolm Priestley <[email protected]>2020-05-27 09:49:18 +0100
committerGreg Kroah-Hartman <[email protected]>2020-05-27 12:23:10 +0200
commit7077256b525928f5176fdb19eb34c85b76da133d (patch)
tree1d0370e11ea0c12c3aec419e60a4394501ad89a8 /drivers/fpga/fpga-bridge.c
parent3b75d8bd3be49ffb4878f2370dc565a36e11fe07 (diff)
staging: vt6656: vnt_tx_packet use skb_clone to preserve sk_buff.
The sk_buff needs to preserved for copying to various parts of context and passing back to mac80211 clone sk_buff in context so to continue to writing to orginal sk_buff data area to send in vnt_tx_context. dev_kfree_skb the context on error or dev_kfree_skb the orignal when done. The error handling continues as before. Only one place in function needs to change from ieee80211_get_hdrlen_from_skb to ieee80211_hdrlen(hdr) which is already to pointing to correct position. Signed-off-by: Malcolm Priestley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions