X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Fcan%2Fbcm.c;h=969b7cdff59d9480e4a7a77cbff72acb0e12eae7;hb=9c6ecf6a3ade2dc4b03a239af68058b22897af41;hp=6f747582718ed28464b4eaa2bd45740939c13506;hpb=bb95a0d73bb69d73c16d32c10a0c31a32abddb03;p=cascardo%2Flinux.git diff --git a/net/can/bcm.c b/net/can/bcm.c index 6f747582718e..969b7cdff59d 100644 --- a/net/can/bcm.c +++ b/net/can/bcm.c @@ -1084,6 +1084,9 @@ static int bcm_rx_setup(struct bcm_msg_head *msg_head, struct msghdr *msg, op->sk = sk; op->ifindex = ifindex; + /* ifindex for timeout events w/o previous frame reception */ + op->rx_ifindex = ifindex; + /* initialize uninitialized (kzalloc) structure */ hrtimer_init(&op->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); op->timer.function = bcm_rx_timeout_handler;