diff options
author | Martin Schiller <ms@dev.tdt.de> | 2020-01-21 10:42:33 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-01-26 18:38:17 +0100 |
commit | 996f02e5bafad2815e72821c19d41fb5297e4dad (patch) | |
tree | dcf57ae3c52e14dda32ada96f358e94f51159d68 /target/linux/generic/files | |
parent | 6e96fd90471a49185bcfe9dcb4844d444674ecab (diff) | |
download | upstream-996f02e5bafad2815e72821c19d41fb5297e4dad.tar.gz upstream-996f02e5bafad2815e72821c19d41fb5297e4dad.tar.bz2 upstream-996f02e5bafad2815e72821c19d41fb5297e4dad.zip |
lantiq: ltq-ptm: vr9: fix skb handling in ptm_hard_start_xmit()
Call skb_orphan(skb) to call the owner's destructor function and make
the skb unowned.
This is necessary to prevent sk_wmem_alloc of a socket from overflowing,
which leads to ENOBUFS errors on application level.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'target/linux/generic/files')
0 files changed, 0 insertions, 0 deletions