diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-04-17 17:48:44 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-04-17 17:48:44 +0200 |
commit | a0142733a7ef2f3476e63938b330026a08c53f37 (patch) | |
tree | 0db333bc484a6cf3079b063994a3d768a4de6dc6 /net/netfilter/nf_conntrack_netbios_ns.c | |
parent | 150ace0db360373d2016a2497d252138a59c5ba8 (diff) | |
download | linux-stable-a0142733a7ef2f3476e63938b330026a08c53f37.tar.gz linux-stable-a0142733a7ef2f3476e63938b330026a08c53f37.tar.bz2 linux-stable-a0142733a7ef2f3476e63938b330026a08c53f37.zip |
netfilter: nfnetlink: return ENOMEM if we fail to create netlink socket
With this patch, nfnetlink returns -ENOMEM instead of -EPERM if we
fail to create the nfnetlink netlink socket during the module
loading. This is exactly what rtnetlink does in this case.
Ideally, it would be better if we propagate the error that has
happened in netlink_kernel_create(), however, this function still
does not implement this yet.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_netbios_ns.c')
0 files changed, 0 insertions, 0 deletions