summaryrefslogtreecommitdiff
path: root/net/sched/cls_flower.c
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2021-03-17 03:07:47 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-17 21:27:30 +0300
commitd2c21422323b06938b3c070361dc544f047489d7 (patch)
treed6a8b6e0b5ef8d571b7c8003a627e42d957edbbb /net/sched/cls_flower.c
parentfc649670ba50160dd29280c0d91c1635623e88e1 (diff)
downloadlinux-d2c21422323b06938b3c070361dc544f047489d7.tar.xz
ionic: linearize tso skb with too many frags
We were linearizing non-TSO skbs that had too many frags, but we weren't checking number of frags on TSO skbs. This could lead to a bad page reference when we received a TSO skb with more frags than the Tx descriptor could support. v2: use gso_segs rather than yet another division don't rework the check on the nr_frags Fixes: 0f3154e6bcb3 ("ionic: Add Tx and Rx handling") Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_flower.c')
0 files changed, 0 insertions, 0 deletions