aboutsummaryrefslogtreecommitdiffstats
path: root/include/hardening.mk
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2020-01-21 10:42:33 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2020-01-26 22:12:54 +0100
commitebafb746f03e642740159614245e67017734db29 (patch)
tree0b9606e6b33f551d43feb629bd8e7e1654671bb8 /include/hardening.mk
parent0591348b3d7a699f6fc95a6b59d83476abcd8797 (diff)
downloadupstream-ebafb746f03e642740159614245e67017734db29.tar.gz
upstream-ebafb746f03e642740159614245e67017734db29.tar.bz2
upstream-ebafb746f03e642740159614245e67017734db29.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> (cherry picked from commit 996f02e5bafad2815e72821c19d41fb5297e4dad)
Diffstat (limited to 'include/hardening.mk')
0 files changed, 0 insertions, 0 deletions