]> rtime.felk.cvut.cz Git - can-eth-gw.git/commitdiff
Add a note
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 4 Sep 2012 09:39:43 +0000 (11:39 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 4 Sep 2012 09:39:43 +0000 (11:39 +0200)
kernel/canethgw.c

index 060cfa54345cf98134b5351b75dcb9b652c6fbff..91e0786ad2015f695178869867b28f6a926fab0b 100644 (file)
@@ -238,6 +238,7 @@ static int cegw_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
                        return -ENOMEM;
                set->eth_ip   = *(struct in_addr*)nla_data(tb[CEGW_ETH_IP]);
                set->eth_port = *(unsigned short*)nla_data(tb[CEGW_ETH_PORT]);
+               /* MS: It would be better to use workqueues here. */
                kthread_run(cegw_thread_start, set, "canethgw");
                break;
        case CEGW_RULE_ETH_CAN: