commit | 0f149c9fec3cd720628ecde83bfc6f64c1e7dcb6 | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Tue Jan 15 11:40:02 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 16 15:48:11 2019 -0800 |
tree | 5ffd4dacfcc608682b18a9255b393f55e3ca6fdb | |
parent | 1a9352687c19e4937d861ff2c5c6fc45c0a08aff [diff] |
udp: with udp_segment release on error path Failure __ip_append_data triggers udp_flush_pending_frames, but these tests happen later. The skb must be freed directly. Fixes: bec1f6f697362 ("udp: generate gso with UDP_SEGMENT") Reported-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>