summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorJiri Bohac <jbohac@suse.cz>2011-02-17 13:12:08 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-02-20 03:06:55 (GMT)
commit2205a6ea93fea76f88b43727fea53f3ce3790d6f (patch)
tree440ff9d40ce5eeee3c85e22feea20f2a0c4d4065 /net/socket.c
parent226111d1fbe611bc7a5ffaa5275ccb41e73fd011 (diff)
downloadlinux-2205a6ea93fea76f88b43727fea53f3ce3790d6f.tar.xz
sctp: fix reporting of unknown parameters
commit 5fa782c2f5ef6c2e4f04d3e228412c9b4a4c8809 re-worked the handling of unknown parameters. sctp_init_cause_fixed() can now return -ENOSPC if there is not enough tailroom in the error chunk skb. When this happens, the error header is not appended to the error chunk. In that case, the payload of the unknown parameter should not be appended either. Signed-off-by: Jiri Bohac <jbohac@suse.cz> Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions