dccp: catch failed request_module call in dccp_probe init
authorWang Weidong <wangweidong1@huawei.com>
Wed, 18 Dec 2013 02:24:33 +0000 (19:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2013 00:25:50 +0000 (19:25 -0500)
commit965cdea825693c821d200e38fac9402cde6dce6a
treedf435cb3a5a93046922c88d6de39c221c175a219
parentb1aca94efa566551e3ea5ed6ee4adc068ae86d1c
dccp: catch failed request_module call in dccp_probe init

Check the return value of request_module during dccp_probe initialisation,
bail out if that call fails.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/probe.c