diff options
author | Zoltan Kiss <zoltan.kiss@citrix.com> | 2014-03-26 22:37:45 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-31 12:53:52 -0700 |
commit | c5f0c0e7525443add533495e93ba8de6feab2396 (patch) | |
tree | 6d2531b43aecaffe5155e688e0371427da30d893 /fs/gfs2/Kconfig | |
parent | 819ab9941c98f18b0f8c7ffb815e4f07186d2a5f (diff) |
core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors
commit 36d5fe6a000790f56039afe26834265db0a3ad4c upstream.
skb_zerocopy can copy elements of the frags array between skbs, but it doesn't
orphan them. Also, it doesn't handle errors, so this patch takes care of that
as well, and modify the callers accordingly. skb_tx_error() is also added to
the callers so they will signal the failed delivery towards the creator of the
skb.
Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.13: skb_zerocopy() is new in 3.14, but was moved from a
static function in nfnetlink_queue. We need to patch that and its caller, but
not openvswitch.]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/gfs2/Kconfig')
0 files changed, 0 insertions, 0 deletions