From: Michal Sojka Date: Tue, 4 Sep 2012 09:39:43 +0000 (+0200) Subject: Add a note X-Git-Url: https://rtime.felk.cvut.cz/gitweb/can-eth-gw.git/commitdiff_plain/01fc4665ccfebbe3baf0e4d253f5b07fe6b5e34b Add a note --- diff --git a/kernel/canethgw.c b/kernel/canethgw.c index 060cfa5..91e0786 100644 --- a/kernel/canethgw.c +++ b/kernel/canethgw.c @@ -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: