[PATCH net next 2/2] udp: Remove unused variable/function (exact_dif)

2019-06-13 Thread Tim Beale
This was originally passed through to the VRF logic in compute_score(). But that logic has now been replaced by udp_sk_bound_dev_eq() and so this code is no longer used or needed. Signed-off-by: Tim Beale --- net/ipv4/udp.c | 12 net/ipv6/udp.c | 11 --- 2 files changed, 23

[PATCH net next 1/2] udp: Remove unused parameter (exact_dif)

2019-06-13 Thread Tim Beale
to make review slightly easier). Signed-off-by: Tim Beale --- net/ipv4/udp.c | 10 +- net/ipv6/udp.c | 13 ++--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 86de412..21febf1 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @

[PATCH net] udp: only choose unbound UDP socket for multicast when not in a VRF

2019-06-03 Thread Tim Beale
DHCP discover packets for all other VRFs. Signed-off-by: Tim Beale --- net/ipv4/udp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 8fb250e..efe9283 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -538,8 +538,7 @@ static inline bool