Many Thanks Wolfgang, The patches to add 'get_xstats_size' and 'can_get_size' solve the 'WARN_ON dump in net/core/rtnetlink.c' issue. I have just tested this on my end and the I can confirm that I no longer get any kernel dumps at 'probe' and CAN0 interface up time (kernel version 2.6.27).
In addition I also checked with the latest IPROUTE2 (unfortunately the earlier version I had, did not support bitrate manipulation), and I am able to set bitrate values properly for the CAN0 interface after applying this patch. Regards, Bhupesh -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Wolfgang Grandegger Sent: Sunday, November 15, 2009 5:28 PM To: David Miller Cc: [email protected]; [email protected] Subject: Re: [PATCH] can: add the missing netlink get_xstats_size callback David Miller wrote: > From: Wolfgang Grandegger <[email protected]> > Date: Thu, 12 Nov 2009 16:34:05 +0100 > >> This patch adds the missing "get_xstats_size" callback for the >> netlink interface, which is required if "fill_xstats" is used, as >> pointed out by Patrick McHardy. >> >> Signed-off-by: Wolfgang Grandegger <[email protected]> > > Applied. It would make sense to apply this patch to net-2.6 as well. Wolfgang. _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
