sctp: loading sctp when load sctp_probe
authorwangweidong <wangweidong1@huawei.com>
Fri, 13 Dec 2013 03:00:10 +0000 (11:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 01:04:27 +0000 (20:04 -0500)
commit9bd7d20c45157c175bfd45449e904a404506f99c
tree8cbe47b31c0b14e9e2df595137e187ad4b21391f
parent319e2e3f63c348a9b66db4667efa73178e18b17d
sctp: loading sctp when load sctp_probe

when I modprobe sctp_probe, it failed with "FATAL: ". I found that
sctp should load before sctp_probe register jprobe. So I add a
sctp_setup_jprobe for loading 'sctp' when first failed to register
jprobe, just do this similar to dccp_probe.

v2: add MODULE_SOFTDEP and check of request_module, as suggested by Neil

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/probe.c