]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix some type cast warnings introduced by stream reconf
authorXin Long <lucien.xin@gmail.com>
Sat, 28 Oct 2017 11:43:54 +0000 (19:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 09:03:24 +0000 (18:03 +0900)
commit75757a60020694d70dc9600020772ea5549957e8
tree95dad261a5cad98743fd05b00eda6c722976427c
parentaec8bdab1c9af5d91b3c6bf3f8b99a7d03a41a05
sctp: fix some type cast warnings introduced by stream reconf

These warnings were found by running 'make C=2 M=net/sctp/'.

They are introduced by not aware of Endian when coding stream
reconf patches.

Since commit 145f195da6e5 ("sctp: add get and set sockopt for
reconf_enable") enabled stream reconf feature for users, the
Fixes tag below would use it.

Fixes: 145f195da6e5 ("sctp: add get and set sockopt for reconf_enable")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
include/net/sctp/sm.h
include/net/sctp/ulpevent.h
net/sctp/sm_make_chunk.c
net/sctp/stream.c
net/sctp/ulpevent.c