linux_dsm_epyc7002/drivers/net/ipvlan
Mahesh Bandewar 296d485680 ipvlan: inherit MTU from master device
When we create IPvlan slave; we use ether_setup() and that
sets up default MTU to 1500 while the master device may have
lower / different MTU. Any subsequent changes to the masters'
MTU are reflected into the slaves' MTU setting. However if those
don't happen (most likely scenario), the slaves' MTU stays at
1500 which could be bad.

This change adds code to inherit MTU from the master device
instead of using the default value during the link initialization
phase.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Tim Hockins <thockins@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-04 19:18:53 -05:00
..
ipvlan_core.c ipvlan: fix use after free of skb 2015-11-17 14:39:29 -05:00
ipvlan_main.c ipvlan: inherit MTU from master device 2016-02-04 19:18:53 -05:00
ipvlan.h ipvlan: use rcu_deference_bh() in ipvlan_queue_xmit() 2015-07-15 21:33:40 -07:00
Makefile ipvlan: Initial check-in of the IPVLAN driver. 2014-11-24 15:29:18 -05:00