Re: [PATCH v2] netfilter: release skbuf when nlmsg put fail

2014-10-14 Thread Florian Westphal
Houcheng Lin wrote: > 2014-10-14 18:49 GMT+08:00 Florian Westphal : > > Houcheng Lin wrote: > >> When system is under heavy loading, the __nfulnl_send() may may failed > >> to put nlmsg into skbuf of nfulnl_instance. If not clear the skbuff on > >> failed, > >> the __nfulnl_send() will still try

Re: [PATCH v2] netfilter: release skbuf when nlmsg put fail

2014-10-14 Thread Houcheng Lin
2014-10-14 18:49 GMT+08:00 Florian Westphal : > Houcheng Lin wrote: >> When system is under heavy loading, the __nfulnl_send() may may failed >> to put nlmsg into skbuf of nfulnl_instance. If not clear the skbuff on >> failed, >> the __nfulnl_send() will still try to put next nlmsg onto this half

Re: [PATCH v2] netfilter: release skbuf when nlmsg put fail

2014-10-14 Thread Florian Westphal
Houcheng Lin wrote: > When system is under heavy loading, the __nfulnl_send() may may failed > to put nlmsg into skbuf of nfulnl_instance. If not clear the skbuff on failed, > the __nfulnl_send() will still try to put next nlmsg onto this half-full skbuf > and cause the user program can never rece