]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'net-next/master'
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 11 Feb 2016 00:54:03 +0000 (11:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 11 Feb 2016 00:54:03 +0000 (11:54 +1100)
1  2 
MAINTAINERS
drivers/net/vxlan.c
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_ipv4.c
net/unix/af_unix.c

diff --cc MAINTAINERS
Simple merge
index a31cd954b308fcf9792df88ec4d1d06842a3b1a1,65f52472a52cc7b7a73066019df5a5f0f8a39b87..57d219fc3d644d8a87b63a9e662870e5e1e3adbd
@@@ -2395,40 -2316,6 +2321,15 @@@ static int __vxlan_change_mtu(struct ne
        return 0;
  }
  
- static int egress_ipv4_tun_info(struct net_device *dev, struct sk_buff *skb,
-                               struct ip_tunnel_info *info,
-                               __be16 sport, __be16 dport)
- {
-       struct vxlan_dev *vxlan = netdev_priv(dev);
-       struct rtable *rt;
-       struct flowi4 fl4;
-       memset(&fl4, 0, sizeof(fl4));
-       fl4.flowi4_tos = RT_TOS(info->key.tos);
-       fl4.flowi4_mark = skb->mark;
-       fl4.flowi4_proto = IPPROTO_UDP;
-       fl4.daddr = info->key.u.ipv4.dst;
-       rt = ip_route_output_key(vxlan->net, &fl4);
-       if (IS_ERR(rt))
-               return PTR_ERR(rt);
-       ip_rt_put(rt);
-       info->key.u.ipv4.src = fl4.saddr;
-       info->key.tp_src = sport;
-       info->key.tp_dst = dport;
-       return 0;
- }
 +static int vxlan_change_mtu(struct net_device *dev, int new_mtu)
 +{
 +      struct vxlan_dev *vxlan = netdev_priv(dev);
 +      struct vxlan_rdst *dst = &vxlan->default_dst;
 +      struct net_device *lowerdev = __dev_get_by_index(vxlan->net,
 +                                                       dst->remote_ifindex);
 +      return __vxlan_change_mtu(dev, lowerdev, dst, new_mtu, true);
 +}
 +
  static int vxlan_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb)
  {
        struct vxlan_dev *vxlan = netdev_priv(dev);
Simple merge
diff --cc net/ipv4/tcp.c
Simple merge
Simple merge
Simple merge