]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 28 Nov 2010 21:03:49 +0000 (22:03 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 28 Nov 2010 21:03:49 +0000 (22:03 +0100)
latester/latester.c

index 774e9d9a182b59055341a34cd976d031b405e42d..6b5c7ed72006717b717148a1e062b7395d54b0c5 100644 (file)
@@ -302,10 +302,10 @@ void *measure_thread(void *arg)
                               &timestamp_on, sizeof(timestamp_on)) < 0)
                        error(1, errno, "setsockopt SO_TIMESTAMP");
 
-               const int dropmonitor_on = 1;
-               if (setsockopt(s, SOL_SOCKET, SO_RXQ_OVFL,
-                              &dropmonitor_on, sizeof(dropmonitor_on)) < 0)
-                       error(1, errno, "setsockopt SO_RXQ_OVFL not supported by your Linux Kernel");
+//             const int dropmonitor_on = 1;
+//             if (setsockopt(s, SOL_SOCKET, SO_RXQ_OVFL,
+//                            &dropmonitor_on, sizeof(dropmonitor_on)) < 0)
+//                     error(1, errno, "setsockopt SO_RXQ_OVFL not supported by your Linux Kernel");
 
                pfd[i].fd = s;
                pfd[i].events = (i == 0) ? POLLERR : POLLIN;