Based in hint from Robert Schwebel:
[patch 42/44] slcan: convert to strict_strtoul
https://lists.berlios.de/pipermail/socketcan-core/2008-June/001437.html
git-svn-id: svn://svn.berlios.de//socketcan/trunk@772
030b6a49-0b11-0410-94ab-
b0dab22257f2
cf.can_dlc = sl->rbuff[dlc_pos] & 0x0F; /* get can_dlc */
sl->rbuff[dlc_pos] = 0; /* terminate can_id string */
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
cf.can_id = simple_strtoul(sl->rbuff+1, NULL, 16);
+#else
+ if (strict_strtoul(sl->rbuff+1, 16, (unsigned long *) &cf.can_id))
+ return;
+#endif
if (!(cmd & 0x20)) /* NO tiny chars => extended frame format */
cf.can_id |= CAN_EFF_FLAG;