Add debug output messages

This commit is contained in:
vemax78
2014-12-28 15:48:52 +01:00
parent b64d563e33
commit 7c9ecebe7d
3 changed files with 11 additions and 3 deletions

View File

@ -239,7 +239,6 @@ static void sc_netlink_unregister_alldevice(void) {
}
}
/* */
static int sc_netlink_link(struct sk_buff* skb, struct genl_info* info) {
int ret;
@ -267,6 +266,8 @@ static int sc_netlink_link(struct sk_buff* skb, struct genl_info* info) {
/* */
static int sc_netlink_reset(struct sk_buff* skb, struct genl_info* info) {
TRACEKMOD("### sc_netlink_reset\n");
/* Check Link */
if (sc_netlink_usermodeid != genl_info_snd_portid(info)) {
return -ENOLINK;