On Wed, Nov 9, 2016 at 8:53 AM, Jiri Benc wrote:
> On Sat, 5 Nov 2016 11:45:55 -0700, Pravin B Shelar wrote:
>> +static int check_route_rtf_local(struct sk_buff *skb, struct net_device
>> *dev,
>> + struct vxlan_dev *vxlan, union vxlan_addr
>>
On Sat, 5 Nov 2016 11:45:55 -0700, Pravin B Shelar wrote:
> +static int check_route_rtf_local(struct sk_buff *skb, struct net_device *dev,
> + struct vxlan_dev *vxlan, union vxlan_addr
> *daddr,
> + __be32 dst_port, __be32 vni, struct
Avoid code duplicate code for handling RTF_LOCAL routes.
Signed-off-by: Pravin B Shelar
---
drivers/net/vxlan.c | 85 +++--
1 file changed, 50 insertions(+), 35 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c