]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_ct_dccp/udplite: fix protocol registration error
authorPatrick McHardy <kaber@trash.net>
Fri, 24 Apr 2009 13:37:44 +0000 (15:37 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 24 Apr 2009 13:37:44 +0000 (15:37 +0200)
commit20b7806d7022d342e5b3ce1fac82a4676cf82b15
tree7f788664a7620211101bfc08a8bb1319154a2af3
parentfbed4a090b5a6a6a9e9207305df43c84508dd4f9
netfilter: nf_ct_dccp/udplite: fix protocol registration error

Commit d883f413 (netfilter: ctnetlink: add callbacks to the per-proto
nlattrs) changed the protocol registration function to abort if the
to-be registered protocol doesn't provide a new callback function.

The DCCP and UDP-Lite IPv6 protocols were missed in this conversion,
add the required callback pointer.

Reported-and-tested-by: Steven Jan Springl <steven@springl.ukfsn.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_proto_dccp.c
net/netfilter/nf_conntrack_proto_udplite.c