rtnl: reset calcit fptr in rtnl_unregister()
[pandora-kernel.git] / net / core / rtnetlink.c
index 72a7ed8..684b573 100644 (file)
@@ -249,6 +249,7 @@ int rtnl_unregister(int protocol, int msgtype)
 
        rtnl_msg_handlers[protocol][msgindex].doit = NULL;
        rtnl_msg_handlers[protocol][msgindex].dumpit = NULL;
+       rtnl_msg_handlers[protocol][msgindex].calcit = NULL;
 
        return 0;
 }