summaryrefslogtreecommitdiffstats
path: root/net/sctp/stream_sched_rr.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-04-07 20:37:40 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-08 16:34:49 +0200
commitfc5f33768cca7144f8d793205b229d46740d183b (patch)
treed78a133561ac517c10aae6b2baa1d505388fd6df /net/sctp/stream_sched_rr.c
parentsctp: do not leak kernel memory to user space (diff)
downloadlinux-fc5f33768cca7144f8d793205b229d46740d183b.tar.xz
linux-fc5f33768cca7144f8d793205b229d46740d183b.zip
net: dsa: Discard frames from unused ports
The Marvell switches under some conditions will pass a frame to the host with the port being the CPU port. Such frames are invalid, and should be dropped. Not dropping them can result in a crash when incrementing the receive statistics for an invalid port. Reported-by: Chris Healy <cphealy@gmail.com> Fixes: 91da11f870f0 ("net: Distributed Switch Architecture protocol support") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/stream_sched_rr.c')
0 files changed, 0 insertions, 0 deletions