[Click] Socket element patch
Eddie Kohler
kohler at cs.ucla.edu
Sat Apr 8 12:22:47 EDT 2006
Thanks, applied!
Beyers Cronje wrote:
> Hi Eddie,
>
> The socket element never initializes it's backoff timer causing an assertion
> fail when scheduled. The below one liner patch fixes this. The timer is only
> used during writes to the socket, hence the initialization under the
> ninputs() section of the element initialization section.
>
> Beyers
>
> --- socket.old.cc 2006-04-06 02:19:46.000000000 +0200
> +++ socket.cc 2006-04-06 02:30:07.000000000 +0200
> @@ -176,6 +176,7 @@
> if (ninputs()) {
> ScheduleInfo::join_scheduler(this, &_task, errh);
> _signal = Notifier::upstream_empty_signal(this, 0, &_task);
> + _timer.initialize(this);
> }
> return 0;
> }
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list