aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorPhoebe Buckheister <[email protected]>2014-03-14 20:24:04 +0000
committerDavid S. Miller <[email protected]>2014-03-15 02:15:26 +0000
commitd1d7358e9f032a43bd48d56a623943b7bee7dce0 (patch)
tree9e132ac257c7f520382d7082e34ab3f5f1cc9452 /net/ipv4/tcp_output.c
parent6lowpan: move lowpan frag_info out of 802.15.4 headers (diff)
downloadkernel-d1d7358e9f032a43bd48d56a623943b7bee7dce0.tar.gz
kernel-d1d7358e9f032a43bd48d56a623943b7bee7dce0.zip
ieee802154: add proper length checks to header creations
Have mac802154 header_ops.create fail with -EMSGSIZE if the length passed will be too large to fit a frame. Since 6lowpan will ensure that no packet payload will be too large, pass a length of 0 there. 802.15.4 dgram sockets will also return -EMSGSIZE on payloads larger than the device MTU instead of -EINVAL. Signed-off-by: Phoebe Buckheister <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions