Re: [PATCH] sctp: Fix error handling for switch statement case in the function sctp_cmd_interprete

2016-04-05 Thread Bastien Philbert
On 2016-04-05 07:29 PM, David Miller wrote: > From: Daniel Borkmann > Date: Tue, 05 Apr 2016 23:53:52 +0200 > >> On 04/05/2016 11:36 PM, Bastien Philbert wrote: >>> This fixes error handling for the switch statement case >>> SCTP_CMD_SEND_PKT by making t

Re: [PATCH] sctp: Fix error handling for switch statement case in the function sctp_cmd_interprete

2016-04-05 Thread Bastien Philbert
On 2016-04-05 06:12 PM, Marcelo Ricardo Leitner wrote: > On Tue, Apr 05, 2016 at 05:36:41PM -0400, Bastien Philbert wrote: >> This fixes error handling for the switch statement case >> SCTP_CMD_SEND_PKT by making the error value of the call >> to sctp_packet_transmit equal t

Re: [PATCH] sctp: Fix error handling for switch statement case in the function sctp_cmd_interprete

2016-04-05 Thread Bastien Philbert
On 2016-04-05 05:53 PM, Daniel Borkmann wrote: > On 04/05/2016 11:36 PM, Bastien Philbert wrote: >> This fixes error handling for the switch statement case >> SCTP_CMD_SEND_PKT by making the error value of the call >> to sctp_packet_transmit equal the variable error due to &

[PATCH] sctp: Fix error handling for switch statement case in the function sctp_cmd_interprete

2016-04-05 Thread Bastien Philbert
longer in use sctp packet even if the call to the function sctp_packet_transmit fails in order to avoid a memory leak here for not freeing the sctp Signed-off-by: Bastien Philbert --- net/sctp/sm_sideeffect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sctp

[PATCH] ipv6: icmp: Add protection from concurrent users in the function icmpv6_echo_reply

2016-04-05 Thread Bastien Philbert
icmpv6_echo_reply as stated in the comments for locking requirements for the function, __in6_dev_get. Signed-off-by: Bastien Philbert --- net/ipv6/icmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 0a37ddc..798434f 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6

[PATCH] ipsec: Fix error handling in the function xfrm6_get_addr

2016-04-05 Thread Bastien Philbert
structure pointer in use by this Signed-off-by: Bastien Philbert --- net/ipv6/xfrm6_policy.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index c074771..759473e 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c

[PATCH] bluetooth: Fix locking issues in the function l2cap_connect_cfm

2016-04-04 Thread Bastien Philbert
concurrent users or race conditions arising Signed-off-by: Bastien Philbert --- net/bluetooth/l2cap_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index eb4f5f2..2ab103e 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth

Re: [PATCH] bridge:Fix incorrect variable assignment on error path in br_sysfs_addbr

2016-04-04 Thread Bastien Philbert
On 2016-04-04 04:14 PM, David Miller wrote: > From: Bastien Philbert > Date: Sun, 3 Apr 2016 19:04:26 -0400 > >> This fixes the incorrect variable assignment on error path in >> br_sysfs_addbr for when the call to kobject_create_and_add >> fails to assign the value

Re: System hangs (unable to handle kernel paging request)

2016-04-04 Thread Bastien Philbert
on our network adapter. > > 2016-04-04 17:30 GMT+03:00 Bastien Philbert : >> >> >> On 2016-04-04 03:59 AM, Oleksii Berezhniak wrote: >>> Good day. >>> >>> We have PPPoE server with CentOS 7 (kernel 3.10.0-327.10.1.el7.dsip.x86_64) >>> >

Re: System hangs (unable to handle kernel paging request)

2016-04-04 Thread Bastien Philbert
On 2016-04-04 03:59 AM, Oleksii Berezhniak wrote: > Good day. > > We have PPPoE server with CentOS 7 (kernel 3.10.0-327.10.1.el7.dsip.x86_64) > > We applied some PPPoE related patches to this kernel: > > ppp: don't override sk->sk_state in pppoe_flush_dev() > ppp: fix pppoe_dev deletion condit

[PATCH] bridge:Fix incorrect variable assignment on error path in br_sysfs_addbr

2016-04-03 Thread Bastien Philbert
assignment being assigned zero when assigning it the successful return value of the call to sysfs_create_group which is zero. Signed-off-by: Bastien Philbert --- net/bridge/br_sysfs_br.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index