Shawn Bohrer
6e54030932
ipv4/udp: Verify multicast group is ours in upd_v4_early_demux()
...
421b3885bf6d56391297844f43fb7154a6396e12 "udp: ipv4: Add udp early
demux" introduced a regression that allowed sockets bound to INADDR_ANY
to receive packets from multicast groups that the socket had not joined.
For example a socket that had joined 224.168.2.9 could also receive
packets from 225.168.2.9 despite not having joined that group if
ip_early_demux is enabled.
Fix this by calling ip_check_mc_rcu() in udp_v4_early_demux() to verify
that the multicast packet is indeed ours.
Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Reported-by: Yurij M. Plotnikov <Yurij.Plotnikov@oktetlabs.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-04 00:46:26 -07:00
..
2015-05-20 13:46:49 +02:00
2015-04-03 12:11:15 -04:00
2014-09-18 10:54:36 +02:00
2015-04-07 15:25:55 -04:00
2015-04-03 12:11:15 -04:00
2014-07-07 21:14:21 -07:00
2015-04-03 12:11:15 -04:00
2015-05-13 09:34:53 +02:00
2015-04-06 22:34:15 -04:00
2015-03-11 16:22:14 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-05-22 14:33:17 -04:00
2015-04-16 12:11:19 -04:00
2015-04-14 15:44:14 -04:00
2014-09-08 15:23:05 -07:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-24 11:39:15 -04:00
2015-04-29 17:10:38 -04:00
2015-04-03 12:11:15 -04:00
2015-04-13 16:40:05 -04:00
2015-04-13 16:40:05 -04:00
2014-09-08 16:42:42 -07:00
2015-04-20 14:07:33 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-07 15:25:55 -04:00
2015-04-03 12:11:15 -04:00
2015-04-07 22:24:37 -04:00
2015-04-03 12:11:15 -04:00
2015-04-08 12:09:42 -04:00
2015-04-07 15:29:08 -04:00
2015-05-28 06:23:32 +02:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-03 12:11:15 -04:00
2015-04-07 15:25:55 -04:00
2014-11-05 16:30:02 -05:00
2014-10-06 00:32:20 -04:00
2015-04-04 12:25:22 -04:00
2015-05-01 22:02:47 -04:00
2015-04-13 16:40:05 -04:00
2014-09-19 17:15:31 -04:00
2015-04-13 18:18:05 -04:00
2015-05-22 14:23:40 -04:00
2015-03-25 00:57:48 -04:00
2015-04-03 12:11:15 -04:00
2015-01-28 22:18:37 -08:00
2015-05-31 21:49:14 -07:00
2015-03-11 16:51:51 -04:00
2015-04-29 17:10:38 -04:00
2015-04-03 12:11:15 -04:00
2015-05-22 13:46:06 -04:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2014-09-01 18:12:45 -07:00
2015-04-29 17:10:38 -04:00
2015-05-22 13:46:06 -04:00
2015-04-24 11:39:15 -04:00
2014-05-03 19:23:07 -04:00
2015-02-12 18:54:10 -08:00
2015-04-07 18:36:39 -04:00
2015-05-31 21:49:14 -07:00
2015-02-28 16:56:51 -05:00
2015-04-24 11:06:48 -04:00
2014-09-01 18:12:45 -07:00
2015-01-28 22:18:37 -08:00
2015-04-07 18:36:39 -04:00
2015-04-29 17:10:38 -04:00
2015-04-29 17:10:38 -04:00
2015-01-28 22:18:37 -08:00
2015-05-05 19:50:09 -04:00
2015-01-28 22:18:37 -08:00
2015-05-22 13:46:06 -04:00
2015-04-03 12:11:15 -04:00
2015-03-02 13:06:31 -05:00
2015-04-03 12:11:15 -04:00
2015-04-07 15:29:08 -04:00
2015-06-04 00:46:26 -07:00
2014-05-23 16:28:53 -04:00
2015-04-07 15:25:55 -04:00
2015-03-25 14:07:04 -04:00
2015-04-07 15:25:55 -04:00
2015-04-03 12:11:15 -04:00
2014-06-30 07:49:47 +02:00