]> rtime.felk.cvut.cz Git - socketcan-devel.git/commitdiff
Added comment about cutting off the proc_fs output at PAGE_SIZE.
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 3 May 2007 13:24:10 +0000 (13:24 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 3 May 2007 13:24:10 +0000 (13:24 +0000)
git-svn-id: svn://svn.berlios.de//socketcan/trunk@273 030b6a49-0b11-0410-94ab-b0dab22257f2

kernel/2.6/net/can/proc.c

index b1e3eb16156ae623915a8b06aaea58bf37bb7a3e..dc1e71b323e6e8061e3f1825a43778b2051d5f6f 100644 (file)
@@ -186,6 +186,10 @@ void can_stat_update(unsigned long data)
 
 /* 
  * proc read functions
+ *
+ * From known use-cases we expect about 10 entries in a receive list to be
+ * printed in the proc_fs. So PAGE_SIZE is definitely enough space here.
+ *
  */
 
 static int can_print_rcvlist(char *page, int len, struct hlist_head *rx_list,