diff options
Diffstat (limited to 'recipes-kernel/linux/files/net-sctp-CVE-2014-0101.patch')
-rw-r--r-- | recipes-kernel/linux/files/net-sctp-CVE-2014-0101.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-kernel/linux/files/net-sctp-CVE-2014-0101.patch b/recipes-kernel/linux/files/net-sctp-CVE-2014-0101.patch index 6fc5610..ddcb6c5 100644 --- a/recipes-kernel/linux/files/net-sctp-CVE-2014-0101.patch +++ b/recipes-kernel/linux/files/net-sctp-CVE-2014-0101.patch | |||
@@ -126,9 +126,9 @@ diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c | |||
126 | index dfe3f36..56ebe71 100644 | 126 | index dfe3f36..56ebe71 100644 |
127 | --- a/net/sctp/sm_statefuns.c | 127 | --- a/net/sctp/sm_statefuns.c |
128 | +++ b/net/sctp/sm_statefuns.c | 128 | +++ b/net/sctp/sm_statefuns.c |
129 | @@ -759,6 +759,13 @@ sctp_disposition_t sctp_sf_do_5_1D_ce(struct net *net, | 129 | @@ -768,6 +768,13 @@ sctp_disposition_t sctp_sf_do_5_1D_ce(struct net *net, |
130 | struct sctp_chunk auth; | 130 | return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); |
131 | sctp_ierror_t ret; | 131 | } |
132 | 132 | ||
133 | + /* Make sure that we and the peer are AUTH capable */ | 133 | + /* Make sure that we and the peer are AUTH capable */ |
134 | + if (!net->sctp.auth_enable || !new_asoc->peer.auth_capable) { | 134 | + if (!net->sctp.auth_enable || !new_asoc->peer.auth_capable) { |