patch-2.1.14 linux/net/rose/rose_in.c
Next file: linux/net/rose/rose_link.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Nov 24 13:28:16 1996
- Orig file:
v2.1.13/linux/net/rose/rose_in.c
- Orig date:
Fri Nov 22 18:28:24 1996
diff -u --recursive --new-file v2.1.13/linux/net/rose/rose_in.c linux/net/rose/rose_in.c
@@ -303,14 +303,8 @@
{
int queued = 0, frametype, ns, nr, q, d, m;
- if (sk->protinfo.rose->state == ROSE_STATE_0 && sk->dead)
- return queued;
-
- if (sk->protinfo.rose->state != ROSE_STATE_1 && sk->protinfo.rose->state != ROSE_STATE_2 &&
- sk->protinfo.rose->state != ROSE_STATE_3 && sk->protinfo.rose->state != ROSE_STATE_4) {
- printk(KERN_ERR "rose_process_rx_frame: frame received - state: %d\n", sk->protinfo.rose->state);
- return queued;
- }
+ if (sk->protinfo.rose->state == ROSE_STATE_0)
+ return 0;
del_timer(&sk->timer);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov