summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2008-07-29 23:57:58 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-29 23:57:58 -0700
commit4a36702e016947a0ce6c0c024673bb5b16d3f618 (patch)
tree16ae893432a4ea9677a2856bd1ae3d6bc65cc46e /ipc
parente93dc4891df93d7efa59d861fdcbb529a1819343 (diff)
downloadop-kernel-dev-4a36702e016947a0ce6c0c024673bb5b16d3f618.zip
op-kernel-dev-4a36702e016947a0ce6c0c024673bb5b16d3f618.tar.gz
IPv6: datagram_send_ctl() should exit immediately when an error occured
When an error occured, datagram_send_ctl() should exit immediately rather than continue to run the for loop. Otherwise, the variable err might be changed and the error might be hidden. Fix this bug by using "goto" instead of "break". Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud