aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2013-12-20 15:10:44 +1100
committerDavid S. Miller <davem@davemloft.net>2013-12-27 13:08:25 -0500
commit4710b2ba873692194c636811ceda398f95e02db2 (patch)
treef1d123b07ed76f251292b6f1a26f0bda98122068 /net/ipv6/sit.c
parentnet: Add some clarification to skb_tx_timestamp() comment. (diff)
downloadlinux-dev-4710b2ba873692194c636811ceda398f95e02db2.tar.xz
linux-dev-4710b2ba873692194c636811ceda398f95e02db2.zip
netxen: Correct off-by-one errors in bounds checks
netxen_process_lro() contains two bounds checks. One for the ring number against the number of rings, and one for the Rx buffer ID against the array of receive buffers. Both of these have off-by-one errors, using > instead of >=. The correct versions are used in netxen_process_rcv(), they're just wrong in netxen_process_lro(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
0 files changed, 0 insertions, 0 deletions