question: frag_max_size not checked in ip_finish_output

2018-11-20 Thread Wenxin Wang
Dear developers, It seems that with defragmentation enabled, `ip_finish_output` doesn't honor `IPCB(skb)->frag_max_size`, while `ip6_finish_output` checks `IP6CB(skb)->frag_max_size`. (Sorry for the reposting, I found that I need to subscribe to the mailing list, and I also add results of my

question: frag_max_size not checked in ip_finish_output

2018-11-20 Thread Wenxin Wang
Dear developers, I'm trying to understand the different behavior between `ip_finish_output` and `ip6_finish_output`, when deciding whether to do fragmentation or not. `ip_finish_output` calls `ip_fragment` when `skb->len` exceeds the destination mtu; In addition to this mtu check,