Re: [PATCH net-next v2 2/5] net: l2tp: only set L2TP_ATTR_UDP_CSUM if AF_INET

2016-11-09 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Mon, 7 Nov 2016 20:39:25 + > Only set L2TP_ATTR_UDP_CSUM in l2tp_nl_tunnel_send() > when it's running over IPv4. > > This prepares the code to also have IPv6 specific attributes. > > Signed-off-by: Asbjoern Sloth Toennesen

[PATCH net-next v2 2/5] net: l2tp: only set L2TP_ATTR_UDP_CSUM if AF_INET

2016-11-07 Thread Asbjoern Sloth Toennesen
Only set L2TP_ATTR_UDP_CSUM in l2tp_nl_tunnel_send() when it's running over IPv4. This prepares the code to also have IPv6 specific attributes. Signed-off-by: Asbjoern Sloth Toennesen --- net/l2tp/l2tp_netlink.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-)