Re: [PATCH net-next] ipv6: add new struct ipcm6_cookie

2016-05-02 Thread David Miller
From: David Miller Date: Mon, 02 May 2016 22:39:45 -0400 (EDT) > From: Wei Wang > Date: Fri, 29 Apr 2016 17:31:12 -0700 > >> From: Wei Wang >> >> In the sendmsg function of UDP, raw, ICMP and l2tp sockets, we use local >> variables like hlimits, tclass, opt and dontfrag and pass them to >> c

Re: [PATCH net-next] ipv6: add new struct ipcm6_cookie

2016-05-02 Thread David Miller
From: Wei Wang Date: Fri, 29 Apr 2016 17:31:12 -0700 > From: Wei Wang > > In the sendmsg function of UDP, raw, ICMP and l2tp sockets, we use local > variables like hlimits, tclass, opt and dontfrag and pass them to > corresponding > functions like ip6_make_skb, ip6_append_data and xxx_push_pen

[PATCH net-next] ipv6: add new struct ipcm6_cookie

2016-04-29 Thread Wei Wang
From: Wei Wang In the sendmsg function of UDP, raw, ICMP and l2tp sockets, we use local variables like hlimits, tclass, opt and dontfrag and pass them to corresponding functions like ip6_make_skb, ip6_append_data and xxx_push_pending_frames. This is not a good practice and makes it hard to add ne