Re: [PATCH net] ipv4: fix broadcast packets reception

2016-03-21 Thread Paolo Abeni
On Mon, 2016-03-21 at 11:50 -0400, David Miller wrote: > From: Paolo Abeni > Date: Mon, 21 Mar 2016 16:42:11 +0100 > > > Currently, ingress ipv4 broadcast datagrams are dropped if the > > ingress interface lacks an ipv4 address. This is caused by > > multiple issues: > > > > - in udp_v4_early_de

Re: [PATCH net] ipv4: fix broadcast packets reception

2016-03-21 Thread David Miller
From: Paolo Abeni Date: Mon, 21 Mar 2016 16:42:11 +0100 > Currently, ingress ipv4 broadcast datagrams are dropped if the > ingress interface lacks an ipv4 address. This is caused by > multiple issues: > > - in udp_v4_early_demux() ip_check_mc_rcu is invoked even on > bcast packets > > - ip_ro

[PATCH net] ipv4: fix broadcast packets reception

2016-03-21 Thread Paolo Abeni
Currently, ingress ipv4 broadcast datagrams are dropped if the ingress interface lacks an ipv4 address. This is caused by multiple issues: - in udp_v4_early_demux() ip_check_mc_rcu is invoked even on bcast packets - ip_route_input_slow() always try to validate the source This patch tries to ad