diff options
author | James Morris <jmorris@namei.org> | 2006-10-30 23:08:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-30 23:24:42 (GMT) |
commit | bcd620757d3a4ae78ef0ca41adb5d9e400ed92b6 (patch) | |
tree | 35267772a114c8e450bf167076d5cef1c1e81e75 /drivers/block | |
parent | a27b58fed90cc5654e2daf1d292cc5bc61be4dd7 (diff) | |
download | linux-fsl-qoriq-bcd620757d3a4ae78ef0ca41adb5d9e400ed92b6.tar.xz |
[IPV6]: fix lockup via /proc/net/ip6_flowlabel
There's a bug in the seqfile handling for /proc/net/ip6_flowlabel, where,
after finding a flowlabel, the code will loop forever not finding any
further flowlabels, first traversing the rest of the hash bucket then just
looping.
This patch fixes the problem by breaking after the hash bucket has been
traversed.
Note that this bug can cause lockups and oopses, and is trivially invoked
by an unpriveleged user.
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions