Chan Shu Tak, Alex
af1c0e4e00
llc2: Fix return statement of llc_stat_ev_rx_null_dsap_xid_c (and _test_c)
...
When a frame with NULL DSAP is received, llc_station_rcv is called.
In turn, llc_stat_ev_rx_null_dsap_xid_c is called to check if it is a NULL
XID frame. The return statement of llc_stat_ev_rx_null_dsap_xid_c returns 1
when the incoming frame is not a NULL XID frame and 0 otherwise. Hence, a
NULL XID response is returned unexpectedly, e.g. when the incoming frame is
a NULL TEST command.
To fix the error, simply remove the conditional operator.
A similar error in llc_stat_ev_rx_null_dsap_test_c is also fixed.
Signed-off-by: Chan Shu Tak, Alex <alexchan@task.com.hk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-12-20 21:19:36 -08:00
..
2019-07-06 12:50:01 +02:00
2019-09-27 15:10:34 -07:00
2019-06-19 17:09:55 +02:00
2019-10-24 14:53:49 -07:00
2019-09-24 16:37:18 +02:00
2019-11-22 16:27:24 -08:00
2019-11-06 16:14:48 -08:00
2019-11-03 08:30:58 +01:00
2019-12-01 13:46:15 -08:00
2019-11-18 19:32:59 -08:00
2019-07-12 16:03:16 -07:00
2019-12-09 14:03:33 -08:00
2019-11-02 13:54:56 -07:00
2019-12-08 11:52:02 +01:00
2019-11-27 22:28:37 +01:00
2019-12-19 14:20:47 -08:00
2019-05-30 11:29:52 -07:00
2019-12-04 12:27:12 -08:00
2019-11-06 16:14:48 -08:00
2019-07-10 18:43:43 -07:00
2019-12-20 21:06:49 -08:00
2019-11-07 20:07:30 -08:00
2019-12-05 12:09:02 -08:00
2019-11-02 13:54:56 -07:00
2019-09-26 08:56:17 +02:00
2019-12-17 22:09:52 -08:00
2019-12-13 17:13:49 -08:00
2019-07-29 10:26:14 -07:00
2019-09-27 10:27:14 +02:00
2019-07-08 19:48:57 -07:00
2019-12-04 12:27:12 -08:00
2019-06-23 13:24:17 -07:00
2019-06-17 20:20:36 -07:00
2019-12-20 21:19:36 -08:00
2019-12-13 10:34:04 +01:00
2019-05-30 11:26:41 -07:00
2019-12-04 12:27:13 -08:00
2019-09-19 18:04:40 -07:00
2019-12-09 14:03:33 -08:00
2019-09-01 11:45:02 -07:00
2019-10-13 11:20:03 -07:00
2019-10-24 14:53:48 -07:00
2019-12-18 11:57:33 -08:00
2019-06-19 17:09:55 +02:00
2019-12-04 17:11:25 -08:00
2019-12-09 14:30:19 -08:00
2019-10-28 13:33:41 -07:00
2019-11-26 14:40:13 -08:00
2019-10-30 17:58:23 -07:00
2019-11-16 21:51:42 -08:00
2019-12-16 10:15:49 +01:00
2019-11-06 16:14:48 -08:00
2019-11-25 20:02:57 -08:00
2019-12-19 17:53:05 -08:00
2019-12-17 21:58:37 -08:00
2019-12-15 11:10:30 -08:00
2019-06-22 08:59:24 -04:00
2019-12-07 16:56:00 -08:00
2019-05-30 11:26:32 -07:00
2019-12-10 17:45:04 -08:00
2019-12-06 20:15:39 -08:00
2019-12-01 13:46:15 -08:00
2019-12-16 16:07:12 -08:00
2019-08-10 15:25:47 -07:00
2019-12-13 10:08:09 +01:00
2019-12-09 10:28:43 -08:00
2019-12-19 16:20:48 +01:00
2019-11-25 20:02:57 -08:00
2019-11-15 14:38:29 +01:00
2019-11-21 12:00:21 -08:00
2019-12-08 13:28:11 -08:00
2019-05-21 10:50:45 +02:00